Get the FREE certificate on C, C++, Java, Python, Perl, PHP, SQL, Linux & Javascript!  

CppBuzz.com
  
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux Forum

You are here : Home » Java » Java Interview Questions on OOPs

Java Interview Questions on OOPs- 12 Questions


Question: 1

(A) Windows
(B) Mac OS
(C) UNIX
(D) All of these

Beginner other[Posted by: Admin | Chicago, USA]



Question: 2

(A) default
(B) public
(C) protected
(D) All of these

Practitioner other[Posted by: Admin | Chicago, USA]



Question: 3

(A) "cpp''buzz"
(B) "cpp''buzz"
(C) cpp''buzz
(D) "cpp' 'buzz"

Expert other[Posted by: Admin | Chicago, USA]



Question: 4

(A) Compiler
(B) Class Loader
(C) Byte Code Verifier
(D) Java Virtual Machine

Beginner other[Posted by: Admin | Chicago, USA]



Question: 5

(A) Editing -> Compilation -> Class Loader -> Bytecode Verifier -> Execution
(B) Editing -> Bytecode Verifier -> Compilation -> Class Loader -> Execution
(C) Editing -> Compilation -> Bytecode Verifier -> Class Loader -> Execution
(D) None of the above

Beginner other[Posted by: Admin | Chicago, USA]



Question: 6

(A) True
(B) False

Beginner other[Posted by: Admin | Chicago, USA]



Question: 7

(A) True
(B) False

Beginner other[Posted by: Admin | Chicago, USA]



Question: 8

(A) Automatic Memory Management
(B) Speed-up the Execution of Java code
(C) to handle runtime exceptions
(D) All of these

Practitioner other[Posted by: Admin | Chicago, USA]



Question: 9

(A) Autoboxing
(B) Morphing
(C) Unboxing
(D) Typecasting

Expert other[Posted by: Admin | Chicago, USA]



Question: 10

(A) The main thread waits for other threads to finish
(B) The main thread is finished first then other threads
(C) Other threads will sleep until main is complete
(D) All of these

Practitioner other[Posted by: Admin | Chicago, USA]



Question: 11

(A) 0
(B) garbage value
(C) runtime error
(D) compile time error

Beginner other[Posted by: Arvind | Navi Mumbai India]



Question: 12

(A) a
(B) b
(C) a and both
(D) Neither a nor b

Beginner other[Posted by: Arvind | Navi Mumbai India]


[Contribute to this Website]

Java Objective Questions By Different Categories:-
Datatype | Variables | Operators | Decision Making | Loops | Methods | Reference Variables | Arrays | Classes and Objects | Abstract Class | Singleton Class | Modifiers | Inheritance | Overriding | Polymorphism | Abstraction | Encapsulation | Files and I/O | TypeCasting | Packages | Exceptions | Collections Framework | Numbers Class | Date & Time | Regular Expressions | Data Structures | Interfaces | Serialization | Multithreading | Networking | Sending Email | Applet Basics | Other