What do you mean by javap?
(A) java compiler
(B) java debugger
(C) java Interpreter
(D) java Disassemble
A method within a class is only accessible by classes that are defined within the same package as the class of the method. Which one of the following is used to enforce such restriction ?
(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 privat
javah stands for ?
(A) java dissasamebler
(B) java header file
(C) java interpreter
(D) java compiler
Which method of the Applet class displays the result of applet code on screen ?
(A) paint() method
(B) main() method
(C) run() method
(D) drawString() method
Which of the following command is used to compile the Java program ?
(A) java
(B) javac
(C) javap
(D) none of these
Which method executes only once ?
(A) stop() method
(B) start() method
(C) init() method
(D) destroy() method
What is the output for the below code ? public class Test{public static void main(String[] args){int i = 010; int j = 07;System.out.println(i); System.out.println(j); } } ?
(A) 7 8
(B) 8 7
(C) 9 8
(D) None
How many transaction isolation levels are defined in java.sql.Connection interface ?
(A) 6
(B) 2
(C) 5
(D) 3