Arrange calls to the superclass's methods and access modifiers to achieve the following screen output:
C class, method2
A class, method2
A class, method1
B class, method1
1. Only one of the superclass's methods can be called from each method.
2. Only one of the class's methods can be called from e
Making the right conclusion
- 12
Locked
Comments (5)
- Popular
- New
- Old
You must be signed in to leave a comment
matemate123
13 February, 19:28
First time I see red error in intellij but program run without error.
0
Romain
3 February 2021, 18:17
Why make the class A's method1 private allows to his method2 to call his method1 and not the class C one's ?
+1
Isma
17 January 2021, 12:22
This one has to be verified online as Intellij doesn't allow you to compile the code
+1
Mateusz
21 September 2020, 08:49
The only solution acceptable by the verifier won't compile. However, a good solution displaying correct results is not acccepted by the verifier :(
+1
Mayu
18 August 2020, 16:11
I had to verify online for this to work. Intellij had a problem with ambiguous method call
+3