a) Set
b) List
c) Array
d) Collection
Answer
a) Set
Explanation:
A Set is a collection of items where every item is unique, and it is found in java.util package, thus option A is correct!
a) Set
b) List
c) Array
d) Collection
a) Set
A Set is a collection of items where every item is unique, and it is found in java.util package, thus option A is correct!
a. Local variable b. Instance variable c. Public class declaration d. Imported class Answer: c. Public class declaration Explanation In any Java program there must
a) Set b) List c) Map d) All of these Answer: a) Set
a. Polymorphism b. Inheritance c. Abstraction d. Encapsulation Answer: b. Inheritance Explanation Inheritance in Java is a mechanism in which one object acquires all the
a. .class b. .java c. .py d. .asp Answer: b. .java Explanation: We always save java files with the extension .java.
Oracle Certified Tutor/Trainer with 100+ reviews