Java Language Interview Question and Answers
1. | What is Java? |
---|---|
A high-level programming language developed by Sun Microsystems. Java was originally called OAK, and was designed for handheld devices and set-top boxes. Oak was unsuccessful so in 1995 Sun changed the name to Java and modified the language to take advantage of the burgeoning World Wide Web. |
2. | what are the main features of java? |
---|---|
|
3. | What are pass by reference and passby value? |
---|---|
Pass By Reference means the passing the address itself rather than passing the value. Passby Value means passing a copy of the value to be passed. |
4. | What is the Java API? |
---|---|
The Java API is a large collection of ready-made software components that provide many useful capabilities, such as graphical user interface (GUI) widgets. |
5. | What is the Java Virtual Machine (JVM)? | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The Java Virtual Machine is software that can be ported onto various hardware-based platforms.
|