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 Loops

Java Interview Questions on Loops - 15 Questions


Question: 1

(A) 5
(B) 4
(C) 1
(D) 0

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



Question: 2

(A) 5
(B) 4
(C) 3
(D) 2

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



Question: 3

(A) 5
(B) 4
(C) 3
(D) 2

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



Question: 4

(A) 1
(B) 2
(C) 3
(D) 4

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



Question: 5

(A) 0
(B) 1
(C) 2
(D) 3

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



Question: 6

(A) 0
(B) 1
(C) 2
(D) Infinite times

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



Question: 7

(A) 5
(B) 4
(C) 3
(D) 0

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



Question: 8

(A) 5
(B) 4
(C) 2
(D) 1

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



Question: 9

(A) friends
(B) friend
(C) fr
(D) compilation Error

Beginner loops[Posted by: ASISH ARAVIND | Des Moines USA]



Question: 10

(A) 1
(B) 2
(C) Compilation Error
(D) Infinite times

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



Question: 11

(A) 0
(B) 1
(C) Infinite Times
(D) Error: Unreachable Statement

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



Question: 12

(A) Infinite times
(B) 0 times
(C) 1 time
(D) error: unreachable statement

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



Question: 13

(A) Infinite times
(B) 0
(C) 1
(D) error: unreachable statement

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



Question: 14

(A) 0
(B) 1
(C) Infinite Times
(D) Compilation Error

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



Question: 15

(A) 0
(B) 2
(C) 4
(D) 5

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


[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