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 9288In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
2 7281When to use the Collection Classes(HashSet, LinkedHashSet, TreeSet....etc) in real time scenario ?
1 10065Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
3057Post New Cap Gemini Java J2EE AllOther Interview Questions
How the data expert of flash object(after inserting flash object_right click-data expert) is useful in crt?
State the difference between ac and dc voltage.
How to use Lidocaine for primary astrocyte culture purification ?
Explain equality operators in javascript?
How to get current date in hibernate query?
What is a domain?
What is yield in ruby?
Tell me about a typical approach of a given project.
What are user exits? What is involved in writing them? What precations are needed?
What are major types of networks and explain
It is possible to access Text (x.txt) files? Explain.
What is the WCT percentage under which the amount is being deducted in Punjab. Under what Notification and dated when???????????. Serious Senor I need the answer other wise I would not have posed this question; Please send the answer to the mail address.
What are the functions to open and close file in c language?
Explain the difference between unlink() and unset()?
What are the types of stored procedures in an sql server?