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 9063In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
2 7128When to use the Collection Classes(HashSet, LinkedHashSet, TreeSet....etc) in real time scenario ?
1 9954Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
2997What is the difference between Enumeration and Iteration interfaces? What is the way of to retreive the objects from these interfaces ?
1 5912Please provide me the the difference between Procure to Pay(P2P),Buy to Pay(B2P)and Invoice to Pay(I2P)
2 222831.In SAP T-code MIR 44 is used for what purpose? 2. What are the entires for Depreciation? 3.Trade discount comes under; a.trading account b.P/L account c. balance sheet 4. T- code F-44 is used to reverse po entry?
2 5279Why we should assign a condition type (ex:pr00)while determining pricing procedure,if we assign PR00 why we should assign that condition type.
2 9849Post New Cap Gemini Interview Questions
How do I link data from one spreadsheet to another?
What about abstract classes in java?
What is the use of activex components?
What you can use regular expression for in mysql?
What are the features of web application?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
What determines my homepage?
How do I fix a corrupted windows file?
What is putenv?
What is pipe?
What is the difference between hive and spark?
Which order type you use for refurbishment?
what is 'mysqlshow'? : Sql dba
What is blade template?
i m electrical diploma holder i want to do plc $ Scada some body tell me which insitute is best for me near chandigarh