When you write
public static void main(String[] args) {
}
And when you write
public static void main(String[] str) {
}
they seem to do the same thing. Am I wrong? And what is the difference between str and args?
When you write
public static void main(String[] args) {
}
And when you write
public static void main(String[] str) {
}
they seem to do the same thing. Am I wrong? And what is the difference between str and args?