Monday, June 1, 2009

Java


Java Virtual machine

Java virtual machine is an intrpretor which interprets the
compiled javabyte code.
This java virtual machine might be present on any device will be capable of executing the compiled java programs.



To see which version of jvm we are using we type the following

In the cmd prompt we type

java -version


Difference between javac and java

The .java is a java compiler, shich will compile a .java file into a . class file.

the .class file is the interpreted file.
The java is the interpretor which is able to understand the bytecode ( the .class file) and interpret on a give platform.


How does java implement multiple inheritance

Java implements multiple inheritance through interface


Interface Definition

Talk about Impements keyword

No comments: