This site requires JavaScript, please enable it in your browser!
Greenfoot back
lucasstan
lucasstan wrote ...

2020/5/22

I need help, submitting this today for AP CSP!

lucasstan lucasstan

2020/5/22

#
My code doesn't work. Here it is. Line line = new Line(); it says constructor Line in class Line cannot be applied to given type; required: java.lang.String found: no arguments reason: actual and formal argument lists differ in length Help please!
danpost danpost

2020/5/22

#
Apparently, you need a String type argument:
Line line = new Line("");
You need to login to post a reply.