How 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 9408In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
2 7358When to use the Collection Classes(HashSet, LinkedHashSet, TreeSet....etc) in real time scenario ?
1 10125Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
3084Post New Cap Gemini Java J2EE AllOther Interview Questions
Wt is the diff bw BPEngine and Integration engine?
IF ANYONE HAVE ANY QUESTION ASK ME AT MY MAIL anmol.bhardwaj5@gmail.com
How to Debug an In-Proc COM Server?
How to require check-in comments?
Explain the hdfs architecture?
How do I combine multiple rows in one cell?
How do I view xml data?
How to do transfection on 293 cell ?
what is the purpose of LINQ providers in LINQ?
Why do I get compile errors accessing the Sender object in events?
What are nas and san in linux?
Which are the storage engines used by mongodb?
how many languages do you know?
Is keyword pl sql?
Tell me about builtinadministrator?