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 9288In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
2 7282When to use the Collection Classes(HashSet, LinkedHashSet, TreeSet....etc) in real time scenario ?
1 10065Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
3057What is the difference between Enumeration and Iteration interfaces? What is the way of to retreive the objects from these interfaces ?
1 6027Please provide me the the difference between Procure to Pay(P2P),Buy to Pay(B2P)and Invoice to Pay(I2P)
2 224121.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 5401Why we should assign a condition type (ex:pr00)while determining pricing procedure,if we assign PR00 why we should assign that condition type.
2 9966Post New Cap Gemini Interview Questions
Describe alexa rank in seo?
what are tentacles?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
List some benefits of using typescript?
State the two type of 16 bit registers and define them?
State and define norton’s theorem?
What is streaming access?
Explain the role of transaction manager and session?
Explain how do you delete item 3 in a five-item tsq?
Explain spliterator in java8?
Define boxing and unboxing in c#?
what is inlet gas pressure of ge 9 fa gas turbine ?
What is maximum recommended velocity for steam in a plant pipe network?
What is a guard statement? What is the benefit of using guard statement in swift?
How to know user has read the email-php?