Java Interview Questions
header

Java Interview Questions


HomeComputer Science⇒ Java Interview Questions

Q1. Java was developed by
(a) Apple
(b) IBM
(c) Ericsson
(d) Sun Microsystems

Q2. In which year Java programming language was developed
(a) 1991
(b) 1993
(c) 1995
(d) 1996

Q3. Which one was the initial name of Java
(a) Oak
(b) CDL
(c) CS-4
(d) Usenet

Q4. Which one is correct — “java is a _________”
(a) platform dependent language
(b) platform independent language
(c) OS dependent language
(d) OS independent language

Q5. A special kind of Java program that is designed to be transmitted over the Internet and automatically executed by a Java-compatible web browser is
(a) Servlets
(b) JSP
(c) Applet
(d) Bytecode



Q6. Java is a
(a) Static language
(b) Dynamic language
(c) Assembly language
(d) Binary language

Q7. A highly optimized set of instructions designed to be executed by the Java run-time system, is called
(a) Objectcode
(b) Bitcode
(c) Bytecode
(d) Floatcode

Q8. Which one is commonly used to extend the applications hosted by web servers
(a) JSP
(b) IDE
(c) Applet
(d) Servlet

Q9. Java is a _____________
(a) Logic-based language
(b) Stack-based language
(c) Data-structured language
(d) Object oriented programming language

Q10. The act of representing essential features without including the background details or explanations is called
(a) Abstraction
(b) Polymorphism
(c) Encapsulation
(d) Inheritance



Q11. Name of the process by which objects of one class acquire the properties of objects of another is called
(a) Information Hiding
(b) Inheritance
(c) Polymorphism
(d) Encapsulation

Q12. Dynamic binding calls at
(a) Start time
(b) Compile time
(c) Run time
(d) Execution time

Q13. Static binding calls at
(a) Start time
(b) Compile time
(c) Process time
(d) Execution time

Q14. Which one was the first browser to support Java applets
(a) Internet Explorer
(b) Safari
(c) HotJava
(d) NetJava

Q15. Which one is not a Java Comment type
(a) Single line comment
(b) Two line comment
(c) Multi line comment
(d) Documentation comment


1 2 3 4 5 6 7






Enter Email Address for Newsletter



    Share on facebook    Share on twitter    Share on google +