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 9066In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
2 7130When 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 ?
2998What is the difference between Enumeration and Iteration interfaces? What is the way of to retreive the objects from these interfaces ?
1 5914Please 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 5281Why we should assign a condition type (ex:pr00)while determining pricing procedure,if we assign PR00 why we should assign that condition type.
2 9853Post New Cap Gemini Interview Questions
What is the difference between var and value?
Can I get windows 7 for free?
What is data structure and its classification?
What does %s mean in python?
Name the property which of menu cannot be set at run time?
Explain the ng-model directive in angularjs.
Define custom hierarchies?
Describe two-factor authentication?
swagat staryed business on 1st jan 2005 with cash on hand Rs. 10000
Differentiate between javascript and node.js.
what is the role of auditor in auditing data oriented applications?
What do you mean by datasets?
What is the purpose of nesting selectors?
Explain about the procedures that are compulsory in the case of procedures?
Explain what directives are? Mention some of the most commonly used directives in angularjs application?