- 1
Java args what is this??why to use that??why use void everytime...why cant i use int or others!
public class play { public static int main(String[]args) { System.out.println ("Hi boss"); int j = 15; String rayhan; args[1]= (int) j; System.out.println(args[1]); } }
2 Réponses
+ 1
Void is return type...
Means what type of data you want to return.... if you use void then nothing will be returned....
And
Not void every time you can use other return type also...