Is it possible to override the main method?
No Answer is Posted For this Question
Be the First to Post Answer
How to call static method?
What is set and get methods in java?
what is associative array
If goto and const is reserve words than why it is not work in java?
Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
What all access modifiers are allowed for top class ?
What is args length in java?
Is passing by reference faster?
What is == and === in javascript?
What is hotjava?
What are Interceptors?
What is native method in java?