Making the right conclusion

  • 12
  • Locked
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
You can't complete this task, because you're not signed in.
Comments (5)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Level 32 , Kraków, Poland
13 February, 19:28
First time I see red error in intellij but program run without error.
Level 26 , Paris, France
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 ?
Level 41 , Madrid, Spain
17 January 2021, 12:22
This one has to be verified online as Intellij doesn't allow you to compile the code
Level 29 , Poland
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 :(
Level 25 , Toronto, Canada
18 August 2020, 16:11
I had to verify online for this to work. Intellij had a problem with ambiguous method call