C C++ Java Data Structure Python JavaScript CSS Ajax PL/SQL PHP Puzzles C programs C++ programs Java programs

Home » Java Aptitude Que. & Ans.

Java Overview Aptitude Questions and Answers

This section contains Aptitude Questions and Answers on Java Basics, Overview of Java and History of Java.

List of Java Overview Aptitude Questions

1) Which company started developing Java (as a Green Project)?
  1. Microsoft
  2. Oracle
  3. Apple
  4. Sun Microsystem

2) Firstly Java was called __________ by James Gosling.
  1. Greentalk
  2. Oak
  3. Jave
  4. Gosl

3) Java Interpreter is used for which purpose?
  1. Compile Java program
  2. Execute class file
  3. Both 1 and 2
  4. None of these

4) After compilation of a Java program which code generated?
  1. Executable code (.exe)
  2. Assembly code (.asm)
  3. Object Code (.obj)
  4. Byte Code (.class)

5) Which declarations are required in a Java program?
  1. There should be a main function
  2. There should be a class
  3. There should be a class and a main function
  4. None of these

Liked this article? Do share with your friends :)