Difference between overloading and Overriding. <Giving a
confusing example to test the concept.>
(also asked in PA Consultancy Group,iflex,Value
chain,IBM,CTS,Accenture, Tarang>
Answer Posted / arthi
overloading means same method name but different parameters
are passed but overriding means same method name with same
parameters passed in different classes.
| Is This Answer Correct ? | 40 Yes | 8 No |
Post New Answer View All Answers
What is singleton service?
When should you make a function static?
Write a method that will remove given character from the string?
What are peerless components in java programming?
What is thread start?
What is void keyword?
What are the principle concepts of oops?
What is the access scope of a protected method?
Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview
Implement two stacks using a single array.
Explain the difference between jvm and jre?
How do generics work?
What does %d do in java?
What is the difference between path and classpath variables?
Does java runtime require a license?