Is java hashset ordered?
What is the difference between hashmap and hashtable? What is an interface?
What is contract between hashcode and equal method?
What is polymorphism in java? What are the kinds of polymorphism?
What is mysql driver class name?
What is the difference between static and non-static variables in java programming?
What is native code?
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 is difference between iterator access and index access?
What is method and methodology?
Can a class have 2 constructors?
What is the purpose of garbage collection in java, and when is it used?
Why set do not allow duplicates in java?