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 9258In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
2 7258When to use the Collection Classes(HashSet, LinkedHashSet, TreeSet....etc) in real time scenario ?
1 10044Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
3042What is the difference between Enumeration and Iteration interfaces? What is the way of to retreive the objects from these interfaces ?
1 6015Please provide me the the difference between Procure to Pay(P2P),Buy to Pay(B2P)and Invoice to Pay(I2P)
2 224021.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 5387Why we should assign a condition type (ex:pr00)while determining pricing procedure,if we assign PR00 why we should assign that condition type.
2 9952Post New Cap Gemini Interview Questions
Explain what is interrupt latency? How can you reduce it?
What are the differences between a database index and a match code?
Which is better php or asp.net?
How are the elements of a gridbaglayout organized?
What dd statement is used to supply the name of a dataset?
Can you list few commonly used hive services?
Please send us a brief description why do you think you can fit to the role
Can you just buy microsoft word?
What is #value in excel?
What are the main components of routing in angualr 2?
IN FUNCTIONAL MODULE SD WE UNFORTUNETLY DELETE OUR ONE ITEM CATEGORY "TAN" FOR THAT WE WANT RECOVER IT WHAT ARE THE PROCEDURES. IS THERE ANY PROCEDURES LIKE RECYCLEBIN. TELL US DETAIL PROCEDURES STEP BY STEP PLEASE
What fonts come with windows?
What DataReader class do in ADO.NET ?
What is Hadoop serialization?
Explain about the extension .hta?