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 8312In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
2 6695When to use the Collection Classes(HashSet, LinkedHashSet, TreeSet....etc) in real time scenario ?
1 9529Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
2817Post New Cap Gemini Java J2EE AllOther Interview Questions
What should you do if your wordpress website gets hacked?
What is a swift class?
What do you mean by chart of accounts? What is it used for? What are its important elements?
what is encapsulation in java? Explain
what is recruitment,objective,function,process,duties,kinds etc
What is sass for css?
What is string pooling concept?
How we test the bulk of contents in web page using manual testing? Is any open source tool available for that ? Thanks in advance..
If the original method is not static you can declare an override method to be static or not?
Explain html background.
Where to use Property Let, Property Get, Property Set in UFT
Are Strong Primes Necessary In Rsa
What is a published data source?
Dear All, We have running a esteemed consultancy [FOCUS CONULTANCY] in vadapalani. So any candidate who is interested workin with international & domestic call centre. Our biggest strength is our team work. We placed large number of candidates in international call centre. So, interested candidates pls mail your resume to hari@focusconsultancy.in or please walk in to our office at Focus Consultancy, #11, First Main Road, Vengishwarar Nagar, Vadapalani, chennai - 26. Ph.32462178. Landmark (near to vadapalani murugan temple)&(straight road from vengishwarar temple)&(near to Vijay pharmacy).
What is full trust in asp.net?