Java MCQ's on Fundamentals Of Java
This test contains 10 questions based on Fundamentals Of Java.
Each question answered correctly awards you 1 point and each incorrect answer has a penalty of -0.25 points, no points are deducted for unattempted answers.
Select Test Type
You Get +1 for each correct answer and -0.25 for each incorrect answer
Time Left -
minutes
:
seconds
What was the original name of Java ?
| Oak | Pok |
| James | Coffee |
Who is know as the father of Java ?
| Ken Arnold | David Holmes |
| James Gosling | Peter Dibble |
Java Source Code is compiled into which format
| .java | .class |
| .exe | .bytecode |
Which tool is used to compile Java Code ?
| java | javac |
| javah | javacmpl |
What is byte code in the context of Java ?
| The type of code generated by a Java compiler | The type of code generated by a Java Virtual Machine |
| It is another name for a Java source file | It is the code written within the instance methods of a class |
Which of these is platform independent ?
| bytecode | JVM |
| both A and B | none of these |
Which of these functions is called to display the output of an applet?
| display() | print() |
| displayApplet() | PrintApplet() |
What does AWT stands for?
| All Window Tools | All Writing Tools |
| Abstract Window Toolkit | Abstract Writing Toolkit |
Which of the following is not a feature of Java.
| Multiple Inheritance | MultiLevel Inheritance |
| Garbage Collection | Function Overloading |
What of the following limits a class and its members to be used only within the class, classes within same package and classes that inherits them.
| public | private |
| protected | default |
Finish Test
No comments: