+ 1
No error.
May be you mean :
Add printing in constructor..
car(String name1)
{
name=name1;
System.out.println(name);
}
19th Nov 2020, 2:33 PM
Jayakrishna đźđł
Often have questions like this?
Learn more efficiently, for free:
Hot today
Is this realistic enough?
2 Votes
Need friends
0 Votes
"Whatâs the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
Web Development
0 Votes
Please complete this code.
0 Votes
Cybersecurity techies
2 Votes