Software Engineering Mcqs

Which command disassembles a class file_______________?

(A) javacmd

(B) javaamd

(C) javap

(D) java

Submitted By: Ali Uppal


What do you mean by javap?

(A) java compiler

(B) java debugger

(C) java Interpreter

(D) java Disassemble

Submitted By: Ali Uppal


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

Submitted By: Ali Uppal


javah stands for ?

(A) java dissasamebler

(B) java header file

(C) java interpreter

(D) java compiler

Submitted By: Ali Uppal


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

Submitted By: Ali Uppal


Which of the following command is used to compile the Java program ?

(A) java

(B) javac

(C) javap

(D) none of these

Submitted By: Ali Uppal


Size of int in Java is_________________?

(A) 8 bit

(B) 16 bit

(C) 32 bit

(D) 64 bit

Submitted By: Ali Uppal


Which method executes only once ?

(A) stop() method

(B) start() method

(C) init() method

(D) destroy() method

Submitted By: Ali Uppal


Submitted By: Ali Uppal


Submitted By: Ali Uppal