Submitted Questions

  • Platform Independence

    Why platform independence is needed in real world ?

    Praveen Kumar

    • Dec 13th, 2012

    Yes Java is Platform independent. When you compile your program, the java compiler provides you with a class file which consists of intermediate representation of the code. when you run this class fil...

    SOWJANYA

    • Dec 10th, 2012

    Write once and run anywhere, that means if we develop one application on one operating system and for using it will execute on any operating system.

  • Java-Class variable Vs Instance variable

    Some body please tell me what is the difference between class variable and instance variable???

    qamrun

    • Nov 8th, 2012

    Static variable, the field is allocated when the class is created. It belongs to the class and not any object of the class. It is class variable. Instance variable, the field is allocated when the c...