Java J2EE (14736)
J2ME (151)
Java Related AllOther (507) When we r go to abstract class and when we go to Interface? i have confusion this question while in interview plz clarify
3 7109How to call the m1() method of Base class in below snippet ? class Base { public void m1() { System.out.println("Base m1 "); } public void m2() { System.out.println("Base m1 "); } } ====================== class Derived extends Base { public void m1() { System.out.println("Derived m1"); } public void m3() { System.out.println("Derived m3"); } public static void main(String[] args) { Base ob=new Derived(); ob.m1(); //System.out.println("Hello World!"+ob.m1()); } }
6 9270In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
2 7267When to use the Collection Classes(HashSet, LinkedHashSet, TreeSet....etc) in real time scenario ?
1 10048Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
3045What is the difference between Enumeration and Iteration interfaces? What is the way of to retreive the objects from these interfaces ?
1 6018Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
2820
Define how can we find the actual size of an object on the heap?
Can we update primary key in hibernate?
What are result types in struts?
How to invoke a stored procedure in hibernate?
What is called an advice?
what is an isolation level?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
What is the use of jms server in weblogic?
Is .net better than java?
What is hibernate connection pool_size?
When does WebSphere Application Server contact the registry for user information?
What is the Difference between socket and servlet?
Can java object be locked down for exclusive use by a given thread?
What are the uses of servlet
What the core interfaces are of hibernate framework?