This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
student1
wrote ...
2018/4/18
Text
1
2
danpost
2018/4/19
#
student1 wrote...
i thought it could be this since it is creating an object image called L1 but i am probably wrong << Code Omitted
Well, at least it does create an object. But, still, show me the code that creates a DummyClass object, please.
student1
2018/4/19
#
sorry i'm really bad at this so i don't know even though i'm thinking about it a lot
danpost
2018/4/19
#
student1 wrote...
sorry i'm really bad at this so i don't know even though i'm thinking about it a lot
HINT: basically, you always use the
new
keyword to create an object.
You need to login to post a reply.
1
2
X