sum = 0
item = 0
while item < 5:
item += 1
sum += item
if sum > 4:
break
a) 5
b) 6
c) 7
d) 8
Answer:
b) 6
sum = 0
item = 0
while item < 5:
item += 1
sum += item
if sum > 4:
break
a) 5
b) 6
c) 7
d) 8
b) 6
a) It can only contain one class declaration. b) It can contain one public class declaration and one public interface definition. c) It must define
a. Java is object-oriented and interpreted. b. Java is efficient and faster than C++. c. Java is the choice of everyone. d. Java is not robust.
a. public static void main(string[] args) b. public static void Main(string[] args) c. public static void main(Strings[] args) d. public static void main(String[] args) Answer:
a. data value stored in memory that can change its value but cannot change its type during the program’s execution b. data type stored in
Oracle Certified Tutor/Trainer with 100+ reviews