Name the immediate superclass of the MenuComponent class?
What is the difference between throw and throws?
Which access specifier can be used with class ?
What is the symbol for line break?
If two threads call a static method at the same point of time, what will happen?
What are the three best choices for a development environment?
What is jit compiler in java?
What is lazy programming?
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(); } }
Is map sorted in java?
What is the nested interface?
Why java is used everywhere?
What is a boolean output?