needsber.blogg.se

Mcq questions and answers pdf
Mcq questions and answers pdf





mcq questions and answers pdf
  1. #Mcq questions and answers pdf code
  2. #Mcq questions and answers pdf windows

What is the error in the following class definitions?Ī) The class header is not defined properlyħ. The display does not contain any numbers.Ħ. Method show() is not implemented in Displayĭ) Wrong. Method show() should have a return typeĬ) Wrong. What is wrong in the following class definitions?ī) Wrong. What happens when we try to compile this class?Ī) Will not compile because the class body is not definedī) Will not compile because the class is not declared public.Ĭ) Will not compile because the string is abstract.ĭ) Will not compile because the string is final.ĥ.

#Mcq questions and answers pdf code

What will be the output if number is equal to 0?įor this code, which of the following statement is true?Ĭ) The output will be A, followed by B, and then followed by Cĭ) Code is illegal and therefore will not compileĤ. How many times does the following code segment executeĭo while (y>1 & z=0) Iv) allows developers to customize any java enabled serverĩ.

#Mcq questions and answers pdf windows

Iii) runs only in Windows Operating System Ii) is a small pluggable extension to a server that enhances functionality I) is a key component of server-side Java development Command to execute compiled java program is Which of the following is not the Java primitive typeĦ. are not machine instructions and therefore, Java interpreter generates machine code that can be directly executed by the machine that is running the Java program.Ī) Converts a java program into binary codeĬ) Converts a java program into machine languageĥ. Which of the following is true about Java.ī) Java has replaced the destructor function of C++ģ. Iii) get out of a loop iv) get out of the systemġ0. Iii) Decreasing maintenance cost iv) High vulnerability I) Increasing productivity ii) Reusability Which is the root class of all AWT events Filters were officially introduced in the Servlet ……………… specification.ħ. Java servlets are an efficient and powerful solution for creating …………. Which one of the following is true for JavaĪ) Java is object-oriented and interpretedĥ. Java Multiple Choice Questions with Answers:-ģ.







Mcq questions and answers pdf