Programming Using Java PCA20C01J Unit-1
Programming Using Java PCA20C01J Unit-1
PCA20C01J
Unit-1
Ms. Vaishali Gupta
Assistant Professor
MCA Dept.
Topics to be covered:
c. Evolution of Java
► Syntax from C
► Identifiers
► can have alphabets, digits and the underscore and dollar sign characters.
► any length
► Comments
Introduction to Data types of Java
Data Types Range
Type Casting
THANK YOU!
Topics to be covered:
1. Introduction to variable
a. Declaring a variable
b. dynamic initialization of variables
c. Scope and lifetime of variables
2. Introduction to Array
a. Initialization of Arrays,
b. Types of Arrays
3. Introduction to Operators
4. Introduction to Control Statements
a. Iterative Statements
b. Jump Statements
Variable
● collection of characters holding a value
● can have alphabets, digits and the underscore and dollar sign characters.
● not begin with a digit
● any length
Array
► collection of similar types of data.
One Dimensional Array and Multi Dimensional Array
● Multi-> an array of arrays
○ can be 2D, 3D
Introduction to Operators
Introduction to Control Statements
► Working with Selection Statements- All forms of if & Switch
1. If-Else
2. Nested If
3. Switch
Iterative Statements
1. While statement
2. Do while Statement
3. For loop
Continue Statement
Jump Statements