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 6715How 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 4043
Describe the process as to how substring() methodology mechanisms in java.
How to change the priority of thread or how to set the priority of thread?
What are JVM.JRE, J2EE, JNI?
What is constructor chaining in java?
What are the wrapped, classes?
What is unsigned char?
What is the purpose of using break in each case of switch statement?
What are the six ways to use this keyword?
Give the difference between the println method and sqrt method?
What is thread count in java?
Can a class have multiple superclasses?
How to store image in arraylist in java?
Why does it take so much time to access an applet having swing components the first time?
When will we use them?
What is java basic concept?