-
Because finalize () belongs to the java.lang.Object class, it is present in all ___.
A) objectsB) classesC) methodsD) interfaces.
-
Which are keywords in Java? (Select multiple)
A) NULLB) sizeofC) friendD) extendsE) synchronized
-
-
What modifiers may be used with top-level class?
A) publicB) abstractC) final. D) all of the above
-
-
How do you achieve multiple inheritance in Java?
A) Using interfaces.B) Using abstract classesC) Using final classesD) None of the above
-
What is the legal range of a byte integral type?
A) 0 - 65, 535B) (-128) - 127C) (-32,768) - 32,767D) (-256) - 255
-
____________ is a highly optimized set of instructions designed to be executed by the Java run-time system
A) Byte CodeB) FirewallC) Tetra CodeD) View Code
-
-
Java does not supports multithreaded programming
A) TrueB) FalseExplanation: Java supports multithreaded programming, which allows you to write programs that do many things simultaneously
-
Comments in Java Program must begin with /* and end with */
A) TrueB) False
-
All statements in Java end with a _____________
A) ColonB) SemiColonC) HypenD) Dot
-
This() is used to invoke a constructor of the same class.
Skill/Topic: InheritanceA) TrueB) False
-
Swing provides ________ text components
Skill/Topic: AWT & AppletsA) fourB) SixC) Sixteen D) Thirtytwo
-
Java doesnot support Multiline comment
Skill/Topic: AWT & AppletsA) TrueB) False
-
Jbutton is Swing is equivalent to ______ in AWT
Skill/Topic: AWT & AppletsA) Button
-
-
-
-
Java Interview Questions
Ans