100% found this document useful (1 vote)
3K views

Information Technology (802) - Class 12 - Lesson 3. Fundamentals of Java Programming - Part 3

This document outlines the contents of an Information Technology class for Class XII. It covers topics such as selection statements, conditional statements, loops, arrays, user defined methods, object oriented programming, constructors, access modifiers, Java libraries, string manipulation, exception handling, and database connectivity. It also provides examples of wrapper classes and converting between primitive types and object references.

Uploaded by

Sudhakar R
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
3K views

Information Technology (802) - Class 12 - Lesson 3. Fundamentals of Java Programming - Part 3

This document outlines the contents of an Information Technology class for Class XII. It covers topics such as selection statements, conditional statements, loops, arrays, user defined methods, object oriented programming, constructors, access modifiers, Java libraries, string manipulation, exception handling, and database connectivity. It also provides examples of wrapper classes and converting between primitive types and object references.

Uploaded by

Sudhakar R
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 52

INFORMATION

TECHNOLOGY

CLASS XII

Subject code(802)
CONTENTS
1. JAVA SELECTION STATEMENTS.
2. CONDITIONAL STATEMENT.
3. if STATEMENT.
4. if else STATEMENT.
5. switch STATEMENT.
6. THE while STATEMENT.
7. SYNTAX WITH EXAMPLE.
8. THE do while STATEMENT.
9. SYNTAX WITH EXAMPLE.
10. THE for STATEMENT.
11. SYNTAX WITH EXAMPLE.
CONTENTS
1. ARRAYS.
2. USER DEFINED METHODS.
3. EXAMPLES OF USER DEFINED METHODS.
4. OBJECT ORIENTED PROGRAMMING.
5. CONSTRUCTORS.
6. ACCESS MODIFIERS.
7. JAVA LIBRARIES.
8. STRING MANIPULATION.
9. EXCEPTION HANDLING.
10. DATABASE CONNECTIVITY.
11. ASSERTIONS, TREADS & WRAPPER CLASSES.
Arrays are used to store multiple values in a single
variable, instead of declaring separate variables for
each value.
DATABASE
CONNECTIVITY
WRAPPER CLASSES

int x = 25;
Integer y = new Integer(33);
x is a variable that holds a value;
y is an object variable that holds a reference to an object.

Clearly x and y differ by more than their values


int z = x + y; // wrong!
int z = x + y.intValue(); // OK!

int x = Integer.parseInt("1234"); converts the string "1234" into the integer 1,234 and assigns the result to the int variable x.

String s = Integer.toString(1234); converts the int constant 1,234 to a String object and returns a reference to the object.
THANK YOU!!!

You might also like