Programmimg Languages

How to prevent opening of Jframes Multiple times in Java | Java Swings | Jframes Handling | Java GUI

I have get many messages asking how to prevent opening of Jframes multiple times in Java? Hmm.. it’s a pretty good question. I see most of the programmers, students or programming aspirants face the same problem. So the main motive of writing this post is to provide the answer of this question to all. I …

How to prevent opening of Jframes Multiple times in Java | Java Swings | Jframes Handling | Java GUI Read More »

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 .javaii) Two methods cannot have the same name in javaA. i- onlyB. ii- onlyC. Both i and iiD. None of the above 2) Which of the following represent(s) of …

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

MCQ on Java Programming [Solved PDF] – 11

1. If m and n are int type variables, what will be the result of the expression m%n when m=-14 and n=-3? A) 4 B) 2 C) -2 D) -4 2. Consider the following code if(number>=0) if(number>0) system.out.println(“Number is positive”); else system.out.println(“Number is negative”); What will be the output if number is equal to 0? …

MCQ on Java Programming [Solved PDF] – 11 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) stringB) arrayCharC) groupCharD) collection 2. Java programs perform I/O through ……….. A) I/O methodsB) I/O packageC) streamsD) compiler 3. What is byte code in the context of Java?A) The type of code generated by a Java compilerB) The type of code generated by a Java …

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) superB) finalC) thisD) either super or this 2. If a variable is declared final, it must include …………………. value. A) integerB) noC) initialD) float 3. State true or false.i) Jpanel …

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 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 »

Tech Blicks Avertise Icon
Special Offer - Get Linux Hosting for Rs 699/- only