If we write static public void main (String args[] ) .Will it give any error ?.Explain code example
Example: public static void main(string args)
Class main {
Public static void main(String[] args) {
//Write your code here
}
}
Class main {
Public static void main(String[] args) {
//Write your code here
}
}