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 ::

Submit your review
1
2
3
4
5
Submit
     
Cancel

Create your own review

Computer Home Tutor
Average rating:  
 0 reviews

Leave a Reply

Your email address will not be published. Required fields are marked *