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

29th Jun 2018, 4:12 PM
hviet75
hviet75 - avatar
2 Answers
+ 6
This is used to create an instance of a class https://www.sololearn.com/learn/Java/2172/
29th Jun 2018, 4:47 PM
Agent
Agent - avatar
+ 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.
29th Jun 2018, 5:04 PM
hviet75
hviet75 - avatar