## CSE2005: Object Oriented Programming - Full Topic-Wise Solutions, Syntax, and
Concepts
---
### 1. Basics of Java
#### Conceptual Overview
- Java Syntax: Structure of Java programs (class, main method).
- Data Types: int, float, double, boolean, char, String.
- Input/Output: Scanner for input, [Link] for output.
- Operators: Arithmetic, Relational, Logical, Assignment.
- Control Statements: if-else, switch-case, loops (for, while, do-while).
#### Syntax Reference
```java
public class Main {
public static void main(String[] args) {
[Link]("Hello, World!");
}
}
Scanner sc = new Scanner([Link]);
int a = [Link]();
if (a > 0) [Link]("Positive");
for (int i = 0; i < 10; i++) [Link](i);
```
... [All 70 solutions from each of the 7 topics follow here with explanation and
syntax blocks]