24th Jul 2017, 5:48 AM
esraa ragab
7 Respostas
24th Jul 2017, 6:26 AM
Hassie
Hassie - avatar
0
why you make over ride
24th Jul 2017, 8:45 AM
esraa ragab
0
this implements and take method without overrid
24th Jul 2017, 8:45 AM
esraa ragab
0
even l try it by over ride still error
24th Jul 2017, 8:52 AM
esraa ragab
0
On SoloLearn you need the code to be in public class MyProgram { } because SoloLearn looks for this class when running the code. In theory, all methods in an interface are overridden but the @Override is optional. I tend to use it so my code is clearer.
24th Jul 2017, 1:19 PM
Hassie
Hassie - avatar
0
still give error
24th Jul 2017, 1:37 PM
esraa ragab
0
You need to make your Cal and your A classes static.
24th Jul 2017, 2:42 PM
Hassie
Hassie - avatar