Someone please ! Help me through with this code, I did copy it from @Raees . | SoloLearn: Learn to code for FREE!

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

6/29/2018 4:12:01 PM

hviet75

2 Answers

New Answer

+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.