1 Ocak 2015 Perşembe

Having return in methods

          If a statement has return type we can write it:(for example System.out.println("Grade is"+getGrade(grade));
          But if it does not have return type we write:(for example
System.out.print("Grade is ");
getGrade(grade);

Hiç yorum yok:

Yorum Gönder