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 9107In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
2 7172When to use the Collection Classes(HashSet, LinkedHashSet, TreeSet....etc) in real time scenario ?
1 9972Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
3007Post New Cap Gemini Java J2EE AllOther Interview Questions
What are the books for SAP CRM?
Share with us about a time when you had to present a proposal to a person of higher position and were able to do it successfully?
Define what is the effect of removal of bypass capacitor in a ce amplifier circuit?
What is inheritance in oop?
What is auth?
What is Procedure to remitt provident fund and Employees State Insurance ? When and where to remitt? mention in detail.
Define unit atmospheric pressure? Difference between gauge pressure, absolute pressure?
How do I start tomcat?
Does django use sqlalchemy?
What do you mean by sealed classes and static classes?
We have 110Vac ,10A ac supply which is converted into 110VDC & How much DC current? which factor is reqired for dc current calulation?
The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?
Name three reasons why the tester may choose to record in Context Sensitive mode.
Re: Can anybody help me by attaching files , formats for quality checks of common building materials like cement , concrete , bricks , sand and aggregates? please my email id is smgujjal@gmail.com
Mention the different compression techniques in sap hana?