Inheritance Flashcards

1
Q

Can a class have two methods with the same name in its scope where one is static and the other is instance?

A

No.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Is a list of no exceptions a valid subset of a list of exceptions thrown by the superclass method?

A

Yes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Is super.super a valid construct?

A

No.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Can an abstract method have a method body?

A

No.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Member variables are _________ and not overridden.

A

Hidden.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly