0
Overriding why does this not work anyone?
Ball obj2 = new Ball(){ @Override obj2.Bounce(){System.out.println("bounce");}}; obj2.Bounce();
5 Respuestas
+ 1
thanks man that helps 👍
0
can you give me an example please not sure if i have the } im the rigjt places