-
-
What are abstract classes, abstract methods?
Simply speaking a class or a method qualified with "abstract" keyword is an abstract class or abstract method. You create an abstract class when you want to manipulate a set of classes through a common interface. All derived-class methods that match the signature of the base-class declaration will be called using the dynamic binding mechanism. An abstract method is an incomplete method. It has only...
-
-
-
-
Implementing an interface and extending a class are the two ways of creating threads
Skill/Topic: AWT & AppletsA) TrueB) False
-
-
-
-
-
Name interfaces without a method? (Select multiple)
A) SerializableB) ClonebleC) RemoteD) UserDefined
-
Which of the following statements can be used to describe a public method? (Select multiple)
A) It is accessible to all other classes in the hierarchyB) It is accessablde only to subclasses of its parent classC) It represents the public interface of its classD) The only way to gain access to this method is by calling one of the public class methods
-
-
The Separator [ ] is Used to declare array types
A) TrueB) False
-
State true or false :- Can we declare variable inside a method as final variables?
A) TrueB) FalseExplanation: because, local variable cannot be declared as final variables
-
Java 2 means Second Generation Java
A) TrueB) False
-
-
-
-
Java Interview Questions
Ans