What is Overriding and how can it be used?
Answer Posted / siddu
overriding is nothing to change behaviour of super class
method in subclass with same singature of method
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Does sprintf add a null terminator?
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?
What mechanism does java use for memory management?
What is flag in java?
What is the argument in java?
Can a class be final?
what is predefined function in java?
What is difference overloading and overriding?
Is ++ operator thread-safe in java?
What are the different types of sorting in java?
What are the different http methods?
What is string in java is it a data type?
What state is a thread in when it is executing?
What does microservices mean?
What is difference between iterator and enumeration in java?