-
What is the range of the char type?
A) long - 0 lB) float - 0.0 fC) double - 0.0 dD) char – null
-
What are the constants defined by Byte, Short, Integer and Long? 1. MAX_VALUE,2. MIN_VALUE3. TYPE.
A) 1, 2B) 2, 3C) 1, 2, 3D) 1, 3
-
-
-
-
-
-
-
-
-
-
Classes can implement methods and contain variables that are not constants
Skill/Topic: AWT & AppletsA) TrueB) False
-
________ is the keyword used to inherit a class
Skill/Topic: AWT & AppletsA) extends
-
-
-
-
-
-
Access specifiers: "public", "protected", "private", nothing?
Public – any other class from any package can instantiate and execute the classes and methodsProtected – only subclasses and classes inside of the package can access the classes and methodsPrivate – the original class is the only class allowed to execute the methods
-
Java Interview Questions
Ans