Users Also Read
Read MCQ's/Objective questions
MCQ's Search Engine
Important Question
ASP.NET
Basic Computer Knowledge
Basic of Linux/Unix
C Language
C# Programming
C++ Programming
Computer Graphics
Computer Hardware
Computer Networking
Computer Security - Cyber crime & Laws
Data Structures & Algorithms
Database Management System
Digital Computer Electronics
HTML
Important File Extensions
Imp. Shortcut Keys used in Computer
Internet, Web & Email
Language Processors
Management Information System (MIS)
MS Access
MS Excel
MS Word
Operating System
Oracle, SQL & PL/SQL
PHP Basic
Power Point
Programming Languages
Software Engineering
System Analysis and Design (SAD)
System software & compiler design
Tally
VB.NET
Visual Basic
Home⇒ Computer Engineering⇒ Java concepts and its programming
1-Dont try to cram or spend more time here just read it fast and cover syllabus then practice MCQ's cheptor of same topic to check your progress. . |
2-Wrong options are also given but dont concentrate there, Right answer is in bold format. |
Q21 ⇒ The JDBC-ODBC bridge is Multithreaded [other wrong options] [Discuss in forum] Singlethreaded Both of above None of above |
Q22 ⇒ What do you mean by javap java Disassemble [other wrong options] [Discuss in forum] java compiler java debugger java Interpreter |
Q23 ⇒ Thread class is available in java.lang package [other wrong options] [Discuss in forum] java.util package java.awt package java.io package |
Q24 ⇒ Which command disassembles a class file javap [other wrong options] [Discuss in forum] javacmd javaamd java |
Q25 ⇒ Which type of inheritance is not supported by java Multiple [other wrong options] [Discuss in forum] Single Mulilevel Hirarchical |
Q26 ⇒ Main method parameter has which type of data type string [other wrong options] [Discuss in forum] int char double |
Q27 ⇒ Which command is used for interpretation of java program Java [other wrong options] [Discuss in forum] javap javac none of above |
Q28 ⇒ Choose the correct statement public class Circle{ private double radius; public Circle(double radius){ radius = radius; } } The program will compile, but we cannot create an object of Circle with a specified radius. The object will always have radius 0. [other wrong options] [Discuss in forum] The program has a compilation error because we cannot assign radius to radius. The program has a compilation error because it does not have a main method. The program does not compile because Circle does not have a default constructor. |
Q29 ⇒ Java is known as _______stage language 2 [other wrong options] [Discuss in forum] 1 3 4 |
Q30 ⇒ Which driver is efficient and always preferable for using JDBC applications Type-4 driver [other wrong options] [Discuss in forum] Type-1 driver Type-2 driver Type-3 driver |
Q31 ⇒ Smallest individual unit in java program is known as token [other wrong options] [Discuss in forum] string literal operator |
Q32 ⇒ Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class. static [other wrong options] [Discuss in forum] abstract volatile final |
Q33 ⇒ The following program: public class Test{ static boolean is OK; public static void main(String args[]){System.out.print(is OK); } } Prints false [other wrong options] [Discuss in forum] Prints true Will not compile as boolean is not initialized Will not compile as boolean can never be static |
Q34 ⇒ Which collection class associates values witch keys, and orders the keys according to their natural order java.util.TreeMap [other wrong options] [Discuss in forum] java.util.LinkedList java.util.SortedSet java.util.HashSet |
Q35 ⇒ Which of the following statements about arrays is syntactically wrong arrayName p[5]; [other wrong options] [Discuss in forum] arrayName[] p = new arrayName[5]; arrayName p[][] = new arrayName[2][]; arrayName[] p []; |
Q36 ⇒ After the compilation of the java source code, which file is created by the JVM .class [other wrong options] [Discuss in forum] .doc .java .cdr |
Q37 ⇒ Execution of the program is always begins with Main method [other wrong options] [Discuss in forum] parent class default package class contain main method |
Q38 ⇒ Which method of java is invoked by JVM to reclaim the inaccessible memory location finalize() method [other wrong options] [Discuss in forum] reclaim() method final() method both b and c |
Q39 ⇒ Which keyword represents object of the present class this [other wrong options] [Discuss in forum] static package interface |
Q40 ⇒ The object is created with "new" keyword At run-time [other wrong options] [Discuss in forum] At Compile-time Depends on the code None of these |
Or |