Create a new object | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Create a new object

I'm trying to do the activities and i need to create a new object, but i dont understand how to create it...can someone help me plz?

7th May 2020, 7:42 PM
Meg Lef
Meg Lef - avatar
3 Answers
+ 2
Classname obj = new Classname();
7th May 2020, 7:54 PM
Lijo M Loyid
Lijo M Loyid - avatar
+ 1
This is straight from the course. What did you not understand? https://www.sololearn.com/learn/Java/2155/
7th May 2020, 7:55 PM
Avinesh
Avinesh - avatar
0
thanks for your answers, it helps me a lot!
7th May 2020, 8:02 PM
Meg Lef
Meg Lef - avatar