A. Declare the method with the keyword public.
B. Declare the method with the keyword private.
C. Do not declare the method with any accessibility modifiers.
D. Declare the method with the keyword public and private.
Java concepts and its programming
Java concepts and its programming
A. java dissasamebler
B. java header file
C. java interpreter
D. java compiler
A. paint() method
B. main() method
C. run() method
D. drawString() method
A. java
B. javac
C. javap
D. none of these
A. 8 bit
B. 16 bit
C. 32 bit
D. 64 bit
A. stop() method
B. start() method
C. init() method
D. destroy() method
A. 7 8
B. 8 7
C. 9 8
D. None
A. From within protected methods you do not have access to public methods.
B. This method is only accessible from inside the class itself and from inside all subclasses.
C. In a class, you cannot declare methods with a lower visibility than the visibility of the class in which it is defined.
D. This method is accessible from within the class itself and from within all classes defined in the same package as the class itself.
A. 6
B. 2
C. 5
D. 3
A. just in time
B. java in time
C. join in time
D. none of above