1. Which of the following describes the relationshipbetween an abstract class and its subclasses?
A.
has-a relationship
B.
strong is-a relationship
C.
weak is-a relationship
D.
part-of relationship
2.
Which of the following describes the relationship between aninterface and its subclasses?
has-a relationship
strong is-a relationship
weak is-a relationship
oart-of relationship
3.
Which of the following is the method used to access the messagefrom an exception object?
getMessage
printStackTrace
getStackTrace
toString
1. Which of the following describes the relationship between an abstract class and its subclasses? A. has-a relationship
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am