📌 1. Java Syntax & Structure
-
Introduction to Java and the JDK/JRE
-
Writing your first Java program:
HelloWorld.java
-
Java program structure:
class
,main()
method -
Comments in Java (single-line, multi-line, documentation)
-
Compilation and execution of Java programs
✅ Hands-On: Write and run your first “Hello World” program
📌 2. Data Types & Variables
-
Primitive Data Types:
int
,float
,char
,boolean
, etc. -
Non-primitive Data Types:
String
, Arrays, Classes, etc. -
Type casting and type conversion
-
Variables: declaration, initialization, scope
-
Constants using
final
keyword
📌 3. Operators & Expressions
-
Arithmetic operators (
+
,-
,*
,/
,%
) -
Relational operators (
==
,!=
,<
,>
) -
Logical operators (
&&
,||
,!
) -
Assignment & Compound Assignment (
=
,+=
,-=
) -
Unary and Increment/Decrement (
++
,--
) -
Operator precedence
📌 4. Control Flow Statements
-
Decision-Making:
-
if
,if-else
,nested if
,switch-case
-
-
Loops:
-
for
,while
,do-while
-
-
Jump Statements:
-
break
,continue
,return
-
📌 5. Functions (Methods)
-
Defining and calling methods
-
Method parameters and return values
-
Method overloading
-
static
vs instance methods
📌 6. Object-Oriented Programming (OOP) Concepts
-
Classes & Objects
-
Creating a class and instantiating objects
-
-
Constructors
-
Default & parameterized constructors
-
-
Encapsulation
-
Access modifiers, getters/setters
-
-
Inheritance
-
extends
keyword, method overriding,super
-
-
Polymorphism
-
Compile-time (overloading) and run-time (overriding)
-
-
Abstraction
-
Abstract classes and interfaces
-