Books Related to Java Technology

Sunday, January 25, 2009

Core JAVA Interview Questions & Answers-1





  1. What is the most important feature of Java?
    Java is a platform independent language.
  2. What do you mean by platform independence?
    Platform independence means that we can write and compile the java code in one platform like (Windows) and we can execute the class in any other supported platform like (Linux, Solaris etc).
  3. Is JVM platform independent?
    JVM is not platform independent. It is a platform specific run time implementation provided by the vendor.
  4. What is a JVM?
    JVM is Java Virtual Machine which is a run time environment for the compiled java class files.
  5. Difference between JRE/JVM/JDK? To See in Details Click on this Link:- http://javasks.blogspot.com/2009/01/difference-between-jre-jvm-and-jdk.html
  6. What is Externalizable? - Externalizable is an Interface that covers Serializable Interface. It sends data into Streams in Compressed Format. It has two methods, that is: writeExternal(ObjectOuput out) and readExternal(ObjectInput in).
  7. What is a pointer and does Java support pointers?
    Pointer is a reference deal to a memory location. Improper treating of pointers leads to memory escapes and reliability issues hence Java doesn't support the usage of pointers.
  8. Does Java support multiple inheritance?
    Java doesn't support multiple inheritance.
  9. Is Java a pure object oriented language?
    Java is not a pure object oriented language because it uses primitive data types.
  10. What is difference between Path and Classpath?
    Path and Classpath are operating system level environment variables. Path is used define where the system can find the executables (.exe) files and Classpath is used to specify the location .class files.



For More Details: http://www.worldinfosoft.com/interviewquestions/corejavainterview.html

4 comments:

  1. This is really a very important interview question along with answers...


    Nice Blog...

    Keep it up..
    thankx

    ReplyDelete
  2. very informative..!

    Shankar
    www.siliconthotz.blogspot.com

    ReplyDelete
  3. it helps for fresher ..and also for certification exams ;;

    afsar hussian

    ReplyDelete
  4. its really helpfull

    jiten...

    ReplyDelete