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 7250How 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 9501In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
2 7407When to use the Collection Classes(HashSet, LinkedHashSet, TreeSet....etc) in real time scenario ?
1 10178Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
3103What is the difference between Enumeration and Iteration interfaces? What is the way of to retreive the objects from these interfaces ?
1 6136Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
2911
What is the purpose of the enableevents() method in java programming?
What is servlet configuration?
What is object class in java?
How to find out free diskspace from command prompt?
What is application context in spring boot? : Spring Boot
What is static class in java?
What causes statelessness?
Why oracle type 4 driver is named as oracle thin driver?
What is aop logging?
What is the use of attribute in servlets?
How to obtain a performance profile of java program
What is meant by nested loop?
What is the transient keyword?
What is the purpose of execute method of action class?
Is it possible for yielded thread to get chance for its execution again ?