Answer Posted / rajashekar reddy peta
Object slicing is defined as the conversion of an object into something with less information (typically a superclass).
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is array length?
When is finally block not called?
Explain method local inner classes ?
How can we pass argument to a function by reference instead of pass by value?
How can I debug the Java security exceptions and AccessControlExceptions?
What is the purpose of file class?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
What is the functionability stubs and skeletons?
write a program that list all permutations of ABCDEF in which A appears before B?
What is update method called?
String class is defined under which package in java?
How will you reverse a singly-link list?
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?
Can you explain the meaning of aggregation and composition
What do you understand by overloading and overriding in java?