Saturday, May 27, 2006

Object v/s instance?
An object is a specific form of an instance: the instance of a class.

What is an object?

* It's a thing with state and behavior, of course.
* Its an instance of a class

What is a class?

* A class is the definition of some object data type.

What is a JVM?

JVM is Java Virtual Machine, which provides a layer of abstraction. It acts as a interface between the compiled class file and the underlying OS. The java in bin directory is nothing but JVM. It interprets the class file and provides instruction always in same format. That's why we say java is platform independent.

0 Comments:

Post a Comment

<< Home