+ 2
Help for Error finding assignment please
I've just started with java, but having problems in error finding in my assignment codes will anyone please help me. https://code.sololearn.com/cPQ6cTQ9kVry/?ref=app https://code.sololearn.com/ceHOVPkOlVPB/?ref=app https://code.sololearn.com/cf7FMuROGV5B/?ref=app https://code.sololearn.com/c4K1MA61oMCJ/?ref=app
8 Answers
+ 15
welcome âș
after completing lesson ... if still doubts comes , then can put a comment here or on my code
//following the thread
edit ::: @Vijay ,there can be infinite ways to approach a problem
//show me the codes U corrected ... are these corrected now???
//post them I will check & let U know đ
+ 15
//error1 corrected , using these correction all other codes can be corrected
class Area
{
public void find(int l,int b)
{
System.out.println("Area is"+(l*b)) ;
}
public void find1(int l,int b,double h)
{
System.out.println("Area is"+(l*b*h));
}
public static void main(String[] args)
{
Area ar=new Area();
ar.find(8,5);
ar.find1(2,4,6);
}
}
đwhat I have noticed Is there is lots of basic syntax error
//DO THE LESSON AGAIN
+ 3
@Vijay: Gaurav has already corrected one of your codes.
Now it's your turn to learn from your mistakes and show us some progress.
+ 3
Okey I will send the codes that I've solved there's no errors and no output remaining you Tell me what to do
+ 2
yes I will, thanks for the help
+ 2
some errors are pretty self explanatory:
"';' expected" means that you are missing a ";" exactly where it tells you.
"cannot find symbol" means you haven't declared a variable.
"package system does not exist" means you have misspelled the package name "system". don't forget that Java is case sensitive.
+ 2
please send me answers so I can tally it with my solution @gaurav Agrawal or anyone else
+ 1
I got solutions those were silly errors đ thanks for help