0
This code is correct or not?
4 Respuestas
+ 1
also in main() call start()
and print result of getSum()
+ 1
Sorry i cant understand let you explain this pls
+ 1
public static void main(String[] args)
{
AddingTwoNumbers ad = new AddingTwoNumbers();
ad.start(); //@zemiak telling //add this at line no:45
System.out.println(ad.getSum());//print returned value
ad = null;
} //@Martin telling //remove '}' from line no:40, amd add this at line 48
}
//observe changes..