0
Someone please ! Help me through with this code, I did copy it from @Raees .
I couldn't under the syntax " Robot.Brain b = r.new Brain(); it looks weird ! I haven't been taught, so far. https://code.sololearn.com/c393pHnREQIq/?ref=app
2 Réponses
+ 6
This is used to create an instance of a class
https://www.sololearn.com/learn/Java/2172/
+ 1
thank you for spending your precious time to reply . but shame on me, I'm not clever enough to understand. Anonymous class I have learned, but I think this case is not similar to anonymous class.