What is the use of generics? When was it added to the Java development Kit?
What is data movement?
How do you insert a line break?
Explain the difference between hashmap and hashtable in java?
Explain list interface?
Is zero a natural number?
why the equals method can be override?when we override the equals method?
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(); } }
can we access the super class method using subclass object?
Difference between final and effectively final ?
What is a jit compiler?
How do you check if a string contains only numeric digits?
What is incompatible types in java?