+ 16
when u make a method which print something on the screen ... ie doesn't return any value ... then it means u need to use void before method definition name ... bcz it doesn't return any value ... just print a value example ::: static void printNumber (int a){ System.out.print(a);}
20th Jan 2018, 9:22 AM
Gaurav Agrawal
Gaurav Agrawal - avatar