UNIT – I
• Program Structure in Java:
Introduction
Writing Simple Java Programs
Elements or Tokens in Java Programs
Java Statements
Command Line Arguments
User
Input to Programs
Escape Sequences Comments
Programming Style.
Data Types
Variables, and Operators:
Introduction
Data Types in Java
Declaration of Variables
Data Types
Type Casting
Scope of Variable Identifier
Literal Constants
Symbolic Constants
Formatted Output with printf() Method
Static Variables and Methods
Attribute Final
Introduction to Operators
Precedence and Associativity of Operators
Assignment Operator ( = )
Basic Arithmetic Operators
Increment (++) and Decrement (- -) Operators
Ternary Operator
Relational Operators
Boolean Logical Operators
Bitwise Logical
Operators
• Control Statements:
Introduction
if Expression
Nested if Expressions
if else
Expressions
Ternary Operator?
Switch Statement
Iteration Statements
while Expression
do while Loop
for Loop
Nested for Loop
For Each for Loop
Break Statement
Continue Statement
No comments:
Post a Comment