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 9462In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
2 7378When to use the Collection Classes(HashSet, LinkedHashSet, TreeSet....etc) in real time scenario ?
1 10147Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
3092What is the difference between Enumeration and Iteration interfaces? What is the way of to retreive the objects from these interfaces ?
1 6113Please provide me the the difference between Procure to Pay(P2P),Buy to Pay(B2P)and Invoice to Pay(I2P)
2 224961.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 5479Why we should assign a condition type (ex:pr00)while determining pricing procedure,if we assign PR00 why we should assign that condition type.
2 10067Post New Cap Gemini Interview Questions
What accounts are to be debited and credited in this case o
what is the clp command to access a query/400?
Tell me how a text written in a text field could be cleared?
What does publishing mean in uipath automation studio?
How to deploy the custom image?
Is c is a procedural language?
What is lazy loading in c#?
How uwb (ultra-wideband) is different from wi-fi?
define broker, bar, execution group, scada, and components of broker?
How many lines is a drop cap?
What are three common acronyms used in .net, and what do they stand for?
Explain the disadvantages of different types of bdc's?
What is the current mysql version?
Explain join function in perl?
How do you make an object move in powerpoint?