Information Technology (802) - Class 12 - Lesson 3. Fundamentals of Java Programming - Part 3
Information Technology (802) - Class 12 - Lesson 3. Fundamentals of Java Programming - Part 3
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.
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!!!