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 5880How 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 3323
How many threads can I run java?
What is string intern in java?
Can string be considered as a keyword?
What is mean by encoding?
Write a function for palindrome and factorial and explain?
What is a constructor, constructor overloading in java?
What are keywords in java?
Can you instantiate the math class in Java?
What are the 3 types of control structures?
What is the access scope of a protected method?
what is the major difference between linkedlist and arraylist in java?
Give me some null interfaces in java?
What is a Presistent Object?
What is the this keyword?
How do I compare two strings in word in java?