0% found this document useful (0 votes)
46 views

Programming Using Java PCA20C01J Unit-1

This document contains an overview of topics to be covered in a course on Programming Using Java. The topics include: 1) the genesis of Java and its evolution, 2) object oriented concepts, 3) lexical issues like keywords and identifiers, 4) data types, 5) variables, 6) arrays, 7) operators, and 8) control statements including if/else, switch, while, for loops, break and continue. It provides background on how Java was created at Sun Microsystems in 1991 and became popular due to its portability across operating systems and processors. It also introduces key Java concepts like byte code, object orientation, variables, arrays, and control flow structures.

Uploaded by

Berlin Rj
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Programming Using Java PCA20C01J Unit-1

This document contains an overview of topics to be covered in a course on Programming Using Java. The topics include: 1) the genesis of Java and its evolution, 2) object oriented concepts, 3) lexical issues like keywords and identifiers, 4) data types, 5) variables, 6) arrays, 7) operators, and 8) control statements including if/else, switch, while, for loops, break and continue. It provides background on how Java was created at Sun Microsystems in 1991 and became popular due to its portability across operating systems and processors. It also introduces key Java concepts like byte code, object orientation, variables, arrays, and control flow structures.

Uploaded by

Berlin Rj
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Programming Using Java

PCA20C01J

Unit-1
Ms. Vaishali Gupta
Assistant Professor
MCA Dept.
Topics to be covered:

1. The Genesis of Java

a. How java changed the internet- Java’s magic: Byte Code

b. Introduction to Java Buzzword

c. Evolution of Java

d. Java Program Structure

2. Introduction to Object Oriented Concepts of Java

3. Lexical Issues of Java

4. Data types of Java


The genesis of Java

► Coined by James Gosling in 1991 at sun microsystems

► Named as JAVA in 1995.

► Programming language + Platform independent(OS+Processor)

► Write once, run anywhere(WORA).

► Syntax from C

► OOPs features by C++.


Byte code:

► Starts with CAFE BABE


Evolution of java
Java Buzzword
Java Program Structures
Introduction to Object Oriented Concepts of Java
► Types of Programming languages
OOPS Concept
Introduction to Lexical Issues of Java
► Reserved Words/Keywords

► Identifiers

► Used for naming classes, methods, variables, etc.

► can have alphabets, digits and the underscore and dollar sign characters.

► not begin with a digit

► any length

► Separators : (),[], {}, ., :, etc.

► 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

1. Break statement 2. Continue Statement


THANK YOU!

You might also like