Important question for ICSE Board class 10th computer application exam

Ques:Why is an object called an instance of a class?
Ans. An object is called an instance of a class as every object created from a class gets its own instances of the variables defined in the class. Multiple objects can be created from the same class.

Ques: Rewrite the following condition without using logical operators:
if ( a>b || a>c )
System.out.println(a);

Ans: You try…and leave reply

Other important posts links ::