Description: 1.
Which method must exist in every Java application?
(a) main
(b) init
(c) begin
(d) paint
Correct answer is (a)
2.
Which of the following is a valid literal of type float in Java?
(a) 10.5d
(b) 10.5fp
(c) 10.5f
(d) 10.5sp
Correct answer is (c)
3.
Which of the following is a list of all possible Java boolean values?
(a) true, false
(b) TRUE, FALSE
(c) T, F
(d) True, False
Correct answer is (a)
To Search:
File list (Check if you may need any files):
MCQ
...\1.txt
...\2.txt
...\3.doc
...\4.txt
...\5.txt