3. Which concept of Java is achieved by combining methods and attributes into a
class?
B. Abstraction
A. Encapsulation
C. Polymorphism
D. Inheritance
4. When a class serves as base class for many derived classes, the situation is called
A. polymorphism
B. hierarchical inheritance
C. hybrid inheritance D. multipath E. inheritance
none of these
5. Which of the following is not a non-primitive data types?
A. Class
B. String
C. Character
D. Array
6. The case label in a switch-case statement is not of data type.
A. byte
B. short
C. int
D. String
give me right answer
Answers
Answered by
1
3)B. Abstraction
4)B. Hierarchical Inheritance
Hope it helps!
Pls make me the brainliest
Answered by
3
Q3.
Which concept of Java is achieved by combining methods and attributes into a class
ANS: Encapsulation
Q4.
When a class serves as a base class for many derived classes, the situation is called
ANS: Polymorphism
Q5.
Which of the following is not a non-primitive data type?
ANS: Character
Q6.
The case label in a switch-case statement is not of data type.
ANS: String
Hope this will help.
Please make it Brainliest.
Similar questions
Science,
1 month ago
English,
1 month ago
Hindi,
1 month ago
Social Sciences,
2 months ago
Social Sciences,
2 months ago
Math,
9 months ago
Biology,
9 months ago