Viva Questions
Viva Questions
UNIT ~ 1
01. Who and when was Java developed?
Ans. James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language
project in June 1991. The small team of sun engineers called Green Team. It released its
first version in the year 1995.
02. What was the first name of java?
Ans. Oak
03. What do you mean by data abstraction and encapsulation in java?
Ans. Encapsulation means hiding the internal details or mechanics of how an object does
something. Abstraction is outer layout in terms of design.
Data abstraction is the process of hiding certain details and showing only essential
information to the user.
04. What is binding mention different types of binding in java?
Ans. Connecting a method call to the method body is known as binding.
There are two types of binding
1. Static Binding (also known as Early Binding).
2. Dynamic Binding (also known as Late Binding).
05. Expand JDK, JVM and JRE
Ans. JDK – Java Development Kit
JVM – Java Virtual Machine
JRE – Java Runtime Environment
06. Which is the latest version of java?
Ans. Java SE 18.0. 2.1 is the latest release of Java SE Platform.
07. When & which company owns java?
Ans. Oracle Corporation is the current owner of the official implementation of the Java
SE platform, following their acquisition of Sun Microsystems on January 27, 2010. This
implementation is based on the original implementation of Java by Sun.
5) String class uses String constant pool. StringBuffer uses Heap memory