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
Function Overloading:
C++ and Java facilitate designing a number of functions with the same function name. However, their parametric types must be different. Such functions are called overloaded functions, and the process is said to be function overloading.
Need to use Overloaded Functions
As we know, an object contains a state and behaviour (data and functions). Sometimes, it is intended to perform similar operations with a slight change in the parameters. Hence, it is reliable to use many functions with the same name for similar operations.
Defining Overloaded Functions
A method header contains a method name and several parameters. The methods with the same name are treated to be the same, if the types and the number of parameters are the same. Hence, the parameter list must be different in their types or numbers while defining overloading functions.
Related QuestionsVIEW ALL [3]
Define a class to overload the function print as follows:
| void print() | to print the following format | |||
| 1 | 1 | 1 | 1 | |
| 2 | 2 | 2 | 2 | |
| 3 | 3 | 3 | 3 | |
| 4 | 4 | 4 | 4 | |
| 5 | 5 | 5 | 5 | |
| void print(int n) | To check whether the number is a lead number. A lead number is one whose sum of even digits is equal to the sum of odd digits. |
|
e.g. 3669 odd digits sum = 3 + 9 = 12 |
