-
abstract class can be declared as final
Skill/Topic: InheritanceA) TrueB) FalseExplanation: An abstract class may not be declared as final.
-
Java supports multiple inheritance
Skill/Topic: InheritanceA) TrueB) False
-
A method is overridden if there is a method in the subclass that has the same name and the ________ set of parameters.
Skill/Topic: InheritanceA) SameB) DifferentC) MixedD) None of the above
-
subclass is the class that does the inheriting (the child class)
Skill/Topic: InheritanceA) TrueB) False
-
-
-
The jsp:useBean attribute is used to indicate the Serialized bean
Skill/Topic: Programming ConstructsA) TrueB) False
-
implements the SingleThreadModel interface making the Jsp
Implementing the tag implements the SingleThreadModel interface making the Jsp
Skill/Topic: Programming ConstructsA) None of the above B) content safeC) synchornisedD) thread safe
-
-
There are _____ types of Comments in Java
A) One B) Two C) ThreeD) Four Explanation: There are 3 types of comments namely Single-line, Multi-line and Documentation comment
-
The Separator, Comma is Used to separate package names from subpackages and classes
A) TrueB) FalseExplanation: Comma Separates consecutive identifiers in a variable declaration while the Period . is Used to separate package names from subpackages and classes
-
In Java, a source file is officially called a compilation unit.
A) TrueB) False
-
Java does not supports multithreaded programming
A) TrueB) FalseExplanation: Java supports multithreaded programming, which allows you to write programs that do many things simultaneously
-
What is the serialization?
The serialization is a kind of mechanism that makes a class or a bean persistence by having its properties or fields and state information saved and restored to and from storage.