Operators and Expression 2 November 27, 2020December 21, 2020wefru Java quiz on Operators and Expression – 2 1 Created on November 27, 2020 By wefru Type casting 1 TEST YOUR SKILLS BRODLY 1 / 10 Q.11 The JDBC-ODBC bridge allows ……….. to be used as ……….. JDBC drivers, ODBC drivers Drivers, Application ODBC drivers, JDBC drivers Application, drivers 2 / 10 Q.12 Which of the following is true about Java. Java does not support overloading. There are no header files in Java. Java has replaced the destructor function of C++ All of the above. 3 / 10 Q.13 ……………. 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. Compiled Instructions Compiled code byte code Java mid code 4 / 10 Q.14 The command javac Converts a java program into binary code Converts a java program into bytecode Converts a java program into machine language None of the above. 5 / 10 Q.15 Which of the following is not the Java primitive type Byte Float Character Long double 6 / 10 Q.16 Command to execute compiled java program is java javac run javaw 7 / 10 Q.17 Java Servleti) is a key component of server-side Java developmentii) is a small pluggable extension to a server that enhances functionalityiii) runs only in Windows Operating Systemiv) allows developers to customize any java enabled server i, ii & iii are true i, iii & iv are true ii, iii & iv are true i, ii & iv are true 8 / 10 Q.18 Inner classes are anonymous classes nested classes subclasses derived classes 9 / 10 Q.19 How many times does the following code segment executeint x=1, y=10, z=1;do{y–; x++; y-=2; y=z; z++} while (y>1 && z<10); 1 10 5 infinite 10 / 10 Q.20 State whether the following statement is true or false for EJB.1. EJB exists in the middle-tier2. EJB specifies an execution environment3. EJB supports transaction processing 1-true, 2. true, 3. true 1- true, 2. false, 3. true 1- false, 2- false, 3- false 1-true, 2-true, 3-false Your score isThe average score is 0% LinkedIn Facebook Twitter VKontakte 0% Restart quiz