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 / mariyappan
overloading is the process of defining the same function
with different parameters.which can be defined within class.
overriding is the process of defining the function name in
the more than one classes.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
If you are given the name of the function at run time how will you invoke the function?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
Where is java located?
Which collection is best for sorting in java?
What is a container in a gui?
What is a double?
What exactly is methodology?
What is final, finally, finalize?
What is the r character?
How the interruptible method gets implemented?
Explain about version control?
How to perform selection sort in java?
What is variable declaration and definition?