InterviewSolution
| 1. |
How Can You Say Java Is Object Oriented? |
|
Answer» Java is an object-oriented programming language which means you can use Java to develop your programs in terms of data and the methods (functions) that operate on the data. In Java, a class is a COLLECTION of the data and methods which describe an object with which your program works. Think of an object as a "THING," such as a graphics IMAGE, a dialog box, or a file. Java is an object-oriented programming language which means you can use Java to develop your programs in terms of data and the methods (functions) that operate on the data. In Java, a class is a collection of the data and methods which describe an object with which your program works. Think of an object as a "thing," such as a graphics image, a dialog box, or a file. |
|