1.) if we use "private" in place of "public" in public static void main()... 2.) if we use "int" in place of "void".... 3.) can we ommit "static" keyword from that statement.... 4.) also can we give the command line arguments type as int type or float,etc.(.i.e (string args[]))
1 6717How to excute - Interface - Inner class- method can any one tell how to execute/ call this main method public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("inside"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }
1 4045
what is the difference between process and thread? : Java thread
Define interface in java?
Why do we use return statement?
Can a method be overloaded based on different return type but same argument type?
Is void a wrapper class?
What is a short in java?
Explain the difference between abstract classes and interfaces in java?
Give me some null interfaces in java?
How is garbage collection controlled?
What is variable argument in java?
What is comparator in java?
What is a blocking method in Java?
What do you mean by aggregation?
What are unchecked exceptions in java?
how to run ecllipse with jettyserver for windows environment using batch file