Java interview discussion
Interviewer : Do you know why Java is used by us for developing apps over other programming languages??
Candidate : Java is a fun language to work with. It is an Object Oriented language and has better portability than other languages.
Java has a built-in support for multi-threading, socket communication, and memory management (automatic garbage Collection).
It also supports Web based applications (Applet, Servlet, and JSP), distributed applications (sockets, RMI. EJB etc) and network protocols (HTTP, JRMP etc) with the help of extensive standardised APIs (Application Program
Interfaces).
Interviewer : What do you mean by "Java Platform"
Candidate : Java platform is a software-only platform, which runs on top of other hardware-based platforms like UNIX, NT etc.
The Java platform has 2 components:
1. Java Virtual Machine (JVM) – ‘JVM’ is software that can be ported onto various hardware platforms. Byte codes are the machine language of the JVM.
2. Java Application Programming Interface (Java API).
No comments:
Post a Comment