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 6026Please 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
what is the difference between xpath document and xml document?
What are the things that have to be kept in mind while entering into stock exchange?
Why we use spring and hibernate?
What is the differnce between managed code and unmanaged code?
what is the difference between PEGA based web application testing versus web application testing?
What is core data in ios?
What is an example of character?
What are the jsp tags?
what is the purpose of slides tab?
What is local and global variable in c?
What is the use of the mustunderstand attribute in the header element of a soap message?
What is an Interface in C#?
I have a reference table called 1. of 2 fields called 1.BadgeGroups(BG)and 1.Badges(B)like BG G aa 10 aa 11 bb 12 bb 13 bb 14 Using MS Design View Table 2 has 3 fields called 2.name, 2.badgegroup and 2.group In Table 2 called 2. they calls Table 1 for 2 fields BUT with the second field 2.badges, I want the combo box only to display the 1.badges where 2.badgegroup = 1.badgegroup The current select I have is for Table Data View Row Source is: 2.badgegroup is filled from a Combo box using Select Distinct etc from Table 1. Tried different syntax's but still lost, looking for some help SELECT 1.[BadgeGroup], 1.Badge FROM 1. WHERE 1.[BadgeGroup]=Me.2.BadgeGroup); I can populate 2.badgegroup with a
What are the possible ways to bind component properties to an associated template?
Which is better angular material or bootstrap?