Assignment

MCQ on Java Programming Language [Solved PDF] - 12

1) Which of the following statement is/are true? i) The name of a java program file must match the name of the class with the extension .java ii) Two methods cannot have the same name in java A. i- only B. ii- only C. Both i and ii D. None of the above 2) Which …

MCQ on Java Programming Language [Solved PDF] - 12 Read More »

Java MCQ Interview Questions [Solved PDF] - 10

1. Java was developed by the company A) Sun Micro systems B) Microsoft C) Micro tech D) IBM 2. What is the file extension of compiled java program? A) .class B) .java C) .css D) .html 3. ……………… keyword is used to invoke the current object. A) New B) That C) This D) Me 4. …

Java MCQ Interview Questions [Solved PDF] - 10 Read More »

Java Objective Questions [Solved PDF] -

1. In java a ………………….. is a sequence of characters. A) string B) arrayChar C) groupChar D) collection 2. Java programs perform I/O through ……….. A) I/O methods B) I/O package C) streams D) compiler 3. What is byte code in the context of Java? A) The type of code generated by a Java compiler …

Java Objective Questions [Solved PDF] - Read More »

Java Multiple Choice Questions [Solved PDF] - 8

1. Using which keyword we can access value of the instance variables and class variables of that class inside the method of that class itself. A) super B) final C) this D) either super or this 2. If a variable is declared final, it must include …………………. value. A) integer B) no C) initial D) …

Java Multiple Choice Questions [Solved PDF] - 8 Read More »

MCQ of Java [Solved PDF] - 7

1. The ……………… and ……………….. classes are abstract classes that support reading and writing of byte streams. A) reader, writer B) inputstream, outputstream C) objectinputstream, objectoutputstream D) none 2. What is the error in the following code? class Test { abstract void display( ); } A) No error B) Method display( ) should be declared …

MCQ of Java [Solved PDF] - 7 Read More »

Java Multiple Choice Questions [Solved PDF] -6

1. JSP embeds in ……………. in …………………. A) Servlet, HTML B) HTML, Java C) HTML, Servlet D) Java, HTML 2. The class at the top of exception class hierarchy is …………………….. A) ArithmeticException B) Throwable C) Class D) Exception 3. In a java program, package declaration ……………….. import statements. A) must precede B) must succeed …

Java Multiple Choice Questions [Solved PDF] -6 Read More »

Java MCQ Questions [Solved PDF] - 5

1. Preparedstatement Object in JDBC is used to execute ……………………… queries. A) executable B) simple C) high level D) parameterized 2. In JDBC …………………… imports all Java classes concerned with database connectivity. A) javax.sql.* B) java.mysql.* C) java.sql.* D) com.* 3. MS-SQL stores data in a …………………… file format. A) .DAT B) .MDB C) .MSSQL …

Java MCQ Questions [Solved PDF] - 5 Read More »

MCQ of Java [Solved PDF] - 4

1. In Java variables, if first increment of the variable takes place and then the assignment occurs. This operation is also called ……………………….. . A) pre increment B) post increment C) incrementation D) pre incrementation 2. When the operators are having the same priority, they are evaluated from …………….. …………. in the order they appear …

MCQ of Java [Solved PDF] - 4 Read More »

MCQ of Java for Java Proficiency test [Solved PDF] - 3

All java classes are derived from A) java.lang.Class B) java.util.Name C) java.lang.Object D) java.awt.Window   The jdb is used to A) Create a jar archive B) Debug a java program C) Create C header file D) Generate java documentation   What would happen if “String[]args” is not included as argument in the main method. A) …

MCQ of Java for Java Proficiency test [Solved PDF] - 3 Read More »

MCQ of Java - 2 [Solved PDF]

The JDBC-ODBC bridge allows ……….. to be used as ……….. A) JDBC drivers, ODBC drivers B) Drivers, Application C) ODBC drivers, JDBC drivers D) Application, drivers   Which of the following is true about Java. A) Java does not support overloading. B) Java has replaced the destructor function of C++ C) There are no header …

MCQ of Java - 2 [Solved PDF] Read More »

Special Offer - Get Linux Hosting for Rs 699/- only