- What is the most important feature of Java?
Java is a platform independent language. - 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). - Is JVM platform independent?
JVM is not platform independent. It is a platform specific run time implementation provided by the vendor. - What is a JVM?
JVM is Java Virtual Machine which is a run time environment for the compiled java class files. - 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
- 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).
- 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. - Does Java support multiple inheritance?
Java doesn't support multiple inheritance. - Is Java a pure object oriented language?
Java is not a pure object oriented language because it uses primitive data types. - 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
This is really a very important interview question along with answers...
ReplyDeleteNice Blog...
Keep it up..
thankx
very informative..!
ReplyDeleteShankar
www.siliconthotz.blogspot.com
it helps for fresher ..and also for certification exams ;;
ReplyDeleteafsar hussian
its really helpfull
ReplyDeletejiten...