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
Character type data:
Note: The character is defined as a letter, a digit or any special symbol enclosed within single quotes. For example, 'A' , 't' , '9', '?', '*' , etc. Assigning character literals to a variable A character variable is declared under char data type. Syntax: char variable name = <Character literal>
1. Input a Character
Note: There are two ways to input a character to a computer.
A. By using Scanner class: First, import “java.util.*”. Then, create a Scanner object to read input: “Scanner in = new Scanner(System.in);”. Finally, use “char ch = in.next().charAt(0);”
B. By using lnputStreamReader class:
First, import “java.io.*”. Then, create InputStreamReader and BufferedReader objects: “InputStreamReader read = new InputStreamReader(System.in);” “BufferedReader in = new BufferedReader(read);”. Finally, read a character: “char ch = (char)(in.read());”
2. Character-oriented functions
Note: The Character wrapper contains character data type. It also includes some functions to manipulate the character type data. One of its example is Character.isLetter(); which is used to check whether a given argument is a letter or not. It returns boolean type value either true or false .
3. Conversion from characters to ASCII code and vice versa
Note: Each character on computer is assigned a ASCII code. To obtain the ASCII code of a given character, -> Syntax: int variable l = (int) char variable2;
To convert ASCII code to character->Syntax: char variable! = (char) int variable2;
