Tag: web technology
Questions Related to web technology
Constants are declared using the keyword
Which keyword can protect a class in a package from accessibility by the classes outside the package?
Which of the following statements about abstract methods/classes in Java are true? 1. An abstract class cannot be instantiated. 2. Constructors cannot be abstract. 3. A subclass of an abstract class must defined the abstract methods. 4. Static methods may be declared abstract.
The use of protected keyword to a member in a class will restrict its visibility as follows:
Which of the following are keywords? (A) switch (B) integer (C) default (D) boolean (E) object
The keywords reserved but not used in the initial version of Java are: (A) union (B) const (C) inner (D) goto (E) boolean (F) synchronized
We would like to make a member of a class visible in all subclasses regardless of what package they are in. Which one of the following keywords would achieve this?
The keywords reserved but not used in the initial version of Java are: (A) union (B) const (C) inner (D) goto (E) boolean (F) synchronized