Topics
Revision of Class IX Syllabus
Introduction to Object Oriented Programming Concepts
- Introduction of Object-oriented Programming
- Procedure Oriented Language
- Object Oriented Language
- Principles of Object Oriented Programming (OOP)
Library Classes
Elementary Concept of Objects and Classes
- Introduction of Elementary Concept of Objects and Classes
- Creating an Object of a Class
- Real World Vs Software Class and Objects
- Features of a Class
- Class and Attributes
Arrays (Single Dimensional and Double Dimensional)
Values and Data Types
- Introduction of Values and Data Types
- Character Sets in Java
- Encoding of Characters
- Escape Sequences
- Tokens
- Data Types
- Type Conversion
String Handling
- Concept of String Class
- String Functions
- StringBuffer Functions
- Differences between String and StringBuffer objects
Operators in Java
- Introduction of Operators in Java
- Expression and Statement
- Types of Operators
- Arithmetical Operators
- Relational Operators
- Logical Operators
User - Defined Methods
- Introduction of User - Defined Method
- Construct or Components of a Method
- Features of the Return Statement
- Invoking a Method
- Different ways of defining a method
- Ways of passing values to a function
- Side Effects of Call by Reference
- Function Overloading
- Recursive Function
Introduction to Java
- Introduction to Java
- Java Compiler and Interpreter
- Basic Elements of Java Programming
- Output Statement in Java Programming
- Java Programming using BlueJ
- Java Program on BlueJ Platform
Input in Java
- Introduction of Input in Java
- Using Function Argument
- Using Stream Class
- Using Scanner Class
- Using Command Line Argument
- Types of Errors
- Comment Statements in Java Programming
Class as the Basis of All Computation (Objects and Classes)
- Introduction to Object Oriented Programming (OOP)
- Objects
- Class
- Access Specifiers
- Instance Variables
- Class variables (Static variables)
- Local variables
- Different Types of Methods
- This Keyword
Mathematical Library Methods
- Introduction of Mathematical Library Methods
- Methods of Math Class
- Trigonometrical Functions
Constructors
Conditional Statements in Java
- Introduction of Conditional Statements in Java
- Normal Flow of Control
- Conditional Flow of Control
- If constructs
- Multi-Branching statement
Encapsulation and Inheritance
Iterative Constructs in Java
- Introduction of Iterative Constructs in Java
- Entry Controlled Loop
- Exit Controlled Loop
- Some important terms used with loops
Nested Loop
- Introduction of Nested Loop
- Types of Nested Loops
- Break Statement in a Nested Loop
String Buffer Functions:
StringBuffer is another type of class with some added functionality to handle strings. You can declare an object of StringBuffer type. This creates reasonable space in the memory called Buffer. The following statements are used to create String Buffer objects :
- StringBuffer m = new StringBuffer(“Computer” )
- StringBuffer m = new StringBuffer(25);
The ‘b’ statement allocates memory for a string of upto 25 character.
1. append( ):
This function is used to add a string at the end of another string.
Syntax: <StringBuffer variablel>.append<StringBuffer variable2>;
2. setCharAt(Position or Index, Character)
This function is used to replace a character with another character at a specified index of the string.
Syntax: <String Buffer variable>. set<CharAt(Index, Character)>
3. insert(int Position or Index, String) & delete(int lndexl, int lndex2)
Insert adds string at the given position. Delete will delete the string from index 1 to index 2.
4. setLength(int value)
If a StringBuffer is too short to store input, use the `setLength()` function to increase its length as needed.
Syntax: <StringBuffer variable>.setLength<(Number of characters)>;
5. String reverse( )
This is a powerful function used to reverse the characters of a given string. Syntax: <StringBuffer variable>.reverse( );
