What is wrong in my program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is wrong in my program?

Constructors and private attribut. https://code.sololearn.com/czuQ9wAUvl23/?ref=app

7th Apr 2020, 7:13 AM
Malick Diagne
Malick Diagne - avatar
2 Answers
0
You have ; line 10
7th Apr 2020, 7:17 AM
V=IR
V=IR - avatar
0
First you have 2 public classes. Thats a no in java. Second you placed ';' after the method signature on line 10.
7th Apr 2020, 7:20 AM
Mensch
Mensch - avatar