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

You are here : Home » Java » Java Multiple Choice Questions for Experts

Java Multiple Choice Questions for Experts - 44


Question: 1

(A) 10
(B) 11
(C) 12
(D) Compilation Error

DiscussOnForum
Expert datatype[Posted by: Admin | Chicago, USA]



Question: 2

(A) Left Shift Operator
(B) Right Shift Operator
(C) Zero Fill Right Shift
(D) Zero Fill Left Shift

DiscussOnForum
Expert operators[Posted by: Admin | Chicago, USA]



Question: 3

(A) 5
(B) 510
(C) 5100
(D) Compilation Error

DiscussOnForum
Expert conditional[Posted by: Admin | Chicago, USA]



Question: 4

(A) 5
(B) 510
(C) 5100
(D) 100

DiscussOnForum
Expert conditional[Posted by: Admin | Chicago, USA]



Question: 5

(A) 10
(B) 510
(C) 5100
(D) 100

DiscussOnForum
Expert conditional[Posted by: Admin | Chicago, USA]



Question: 6

(A) Compilation Error
(B) 10-even-
(C) 10-even-0
(D) 10-odd

DiscussOnForum
Expert conditional[Posted by: Admin | Chicago, USA]



Question: 7

(A) Compilation Error
(B) 10-even-
(C) 10-odd-
(D) 10-even-0

DiscussOnForum
Expert conditional[Posted by: Admin | Chicago, USA]



Question: 8

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

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



Question: 9

(A) 0
(B) 10"-10"
(C) 10-10
(D) Compilation Error

DiscussOnForum
Expert variables[Posted by: Admin | Chicago, USA]



Question: 10

(A) 30
(B) 1020
(C) 10+10+10
(D) 1010+10

DiscussOnForum
Expert variables[Posted by: Admin | Chicago, USA]



Question: 11

(A) a b c d e
(B) abcde
(C) 97 98 99 100 101
(D) 65 66 67 68 69

DiscussOnForum
Expert arrays[Posted by: Admin | Chicago, USA]



Question: 12

(A) a b c d e
(B) 96 97 98 99 101
(C) 65 66 67 68 69
(D) None of the above

DiscussOnForum
Expert arrays[Posted by: Admin | Chicago, USA]



Question: 13

(A) 63321
(B) 36
(C) 33
(D) 12336

DiscussOnForum
Expert methods[Posted by: Admin | Chicago, USA]



Question: 14

(A) 123456789
(B) 12345678
(C) 122
(D) None of the above

DiscussOnForum
Expert methods[Posted by: Admin | Chicago, USA]



Question: 15

(A) 1234.00
(B) 1234.34
(C) 1234
(D) Exception

DiscussOnForum
Expert typecasting[Posted by: Admin | Chicago, USA]



Question: 16

(A) 10.0
(B) 10
(C) error: loss precision
(D) Exception

DiscussOnForum
Expert typecasting[Posted by: Admin | Chicago, USA]



Question: 17

(A) 10.0000f
(B) 10.0000
(C) 10.00
(D) 10.0

DiscussOnForum
Expert typecasting[Posted by: Admin | Chicago, USA]



Question: 18

(A) 10
(B) 10.00
(C) 10.87
(D) NumberFormatException

DiscussOnForum
Expert typecasting[Posted by: Admin | Chicago, USA]



Question: 19

(A) 10.87
(B) 10.00
(C) 10
(D) error:possible loss of precision

DiscussOnForum
Expert typecasting[Posted by: Admin | Chicago, USA]



Question: 20

(A) 10.87
(B) 10.870000
(C) 10.8700
(D) 10.00

DiscussOnForum
Expert typecasting[Posted by: Admin | Chicago, USA]



Question: 21

(A) Code runs but nothing is printed
(B) Code runs in infinite loop
(C) error: Main method not found
(D) Exception

DiscussOnForum
Expert classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 22

(A) -null-
(B) - -
(C) --
(D) java.lang.NullPointerException

DiscussOnForum
Expert methods[Posted by: Admin | Chicago, USA]



Question: 23

(A) Compilation Error
(B) Exception
(C) --
(D) - -

DiscussOnForum
Expert methods[Posted by: Admin | Chicago, USA]



Question: 24

(A) 77
(B) 78
(C) 79
(D) 710

DiscussOnForum
Expert methods[Posted by: Admin | Chicago, USA]



Question: 25

(A) 7
(B) 8
(C) 9
(D) 10

DiscussOnForum
Expert methods[Posted by: Admin | Chicago, USA]



Question: 26

(A) Cap Cog
(B) Cap Cap
(C) Cog Cog
(D) Cap Cog Cap Cog

DiscussOnForum
Expert classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 27

(A) Cap Cog
(B) Cap Cap
(C) Cog Cog
(D) Cap Cog Cap Cog

DiscussOnForum
Expert classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 28

(A) 10203040
(B) 10203040Hello
(C) Hello
(D) None of these

DiscussOnForum
Expert classesAndobjects[Posted by: ASISH ARAVIND | Des Moines USA]



Question: 29

(A) 10203040
(B) 10203040Hello
(C) Hello
(D) Nothing is printed

DiscussOnForum
Expert classesAndobjects[Posted by: ASISH ARAVIND | Des Moines USA]



Question: 30

(A) null
(B) Nothing is printed
(C) Exception
(D) Compilation Error

DiscussOnForum
Expert classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 31

(A) Ash
(B) Ashxyz
(C) Nothing is printed
(D) AshxyzabcImn

DiscussOnForum
Expert conditional[Posted by: ASISH ARAVIND | Des Moines USA]



Question: 32

(A) 65 & Infinite loop
(B) 65
(C) Nothing is printed
(D) Compilation Error

DiscussOnForum
Expert methods[Posted by: Admin | Chicago, USA]



Question: 33

(A) 12345
(B) 1234
(C) Compilation Error
(D) ArrayIndexOutOfBoundsException

DiscussOnForum
Expert arrays[Posted by: Admin | Chicago, USA]



Question: 34

(A) Yes
(B) No

DiscussOnForum
Expert abstractclass[Posted by: Admin | Chicago, USA]



Question: 35

(A) O(1)
(B) O(n)
(C) O(log(n))
(D) None of these

DiscussOnForum
Expert collection[Posted by: Admin | Chicago, USA]



Question: 36

(A) O(n)
(B) O(1)
(C) O(log(n))
(D) None of these

DiscussOnForum
Expert collection[Posted by: Admin | Chicago, USA]



Question: 37

(A) HashTable
(B) EnumSet
(C) Vector
(D) ArrayList

DiscussOnForum
Expert collection[Posted by: Admin | Chicago, USA]



Question: 38

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

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



Question: 39

(A) Singletons
(B) Java Beans
(C) Transactions
(D) None of the above

DiscussOnForum
Expert classesAndobjects[Posted by: Admin | Chicago, USA]



Question: 40

(A) Exception
(B) Throwable
(C) JavaBase
(D) Error

DiscussOnForum
Expert exceptions[Posted by: Admin | Chicago, USA]



Question: 41

(A) NumberFormatException
(B) IllegalArgumentException
(C) RuntimeException
(D) ParseException

DiscussOnForum
Expert exceptions[Posted by: Admin | Chicago, USA]



Question: 42

(A) Anonymous inner class
(B) Interface
(C) Inner class
(D) All of the mentioned

DiscussOnForum
Expert classesAndobjects[Posted by: Arvind | Navi Mumbai India]



Question: 43

(A) 5 10
(B) 5 10 CppBuzz1
(C) 5 10 CppBuzz2
(D) Compilation Error

DiscussOnForum
Expert exceptions[Posted by: Admin | Chicago, USA]



Question: 44

(A) Hello. How are you?Hello. How are you?
(B) Hello. How are you?
(C) Hello. How are you??
(D) Compilation/RuntimeError

DiscussOnForum
Expert arrays[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