what is object slice?

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


Please Help Members By Posting Answers For Below Questions

What is array length?

699


When is finally block not called?

800


Explain method local inner classes ?

772


How can we pass argument to a function by reference instead of pass by value?

808


How can I debug the Java security exceptions and AccessControlExceptions?

878


What is the purpose of file class?

746


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

2097


What is the functionability stubs and skeletons?

879


write a program that list all permutations of ABCDEF in which A appears before B?

2217


What is update method called?

859


String class is defined under which package in java?

802


How will you reverse a singly-link list?

756


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?

2032


Can you explain the meaning of aggregation and composition

751


What do you understand by overloading and overriding in java?

746