Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on abstraction within the OOPS forums, part of the Software Development category; how the abstraction is done,can any body give wt a example?...
|
|||||||
|
|||
|
Re: abstraction
Abstraction is a purposeful way to inherit multiple inheritance...It helps us to define only the method prototypes in the abstraction class..(The corresponding method is called "Abstraction Method"
E.G. Abstract class test { Abstract function1([set of arguments]); .................. ..................... } Here we can define another class to implement the methods defined in the abstraction class, The syntax is: public class t1 implements test { Method definition and all... } Well,This is what I know..If anyone wants to convey his/her concepts,they are heartily welcome..... |
| The Following User Says Thank You to avra_IT For This Useful Post: | ||
|
|||
|
Re: abstraction
Abstraction:
Hidding the unnecessary data from the users and provide only the necessary data. Eg: Methods in java (ie)The user able to see how the method has been declared and how it has been used in a class,but he doesn't know where it has been stored(in stack/heap) & in which memory address. Thus it shows only the necessary data to run the prg & hides the remaining data from the user. Hope tis brings u a clear idea! Thanks |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| abstraction Vs encapsulation | psuresh1982 | OOPS | 10 | 03-02-2009 06:03 PM |
| Data Abstraction | amiomi | C and C++ | 1 | 02-23-2009 02:39 AM |
| AJAX Made Easy - Language Abstraction Talk | Lokesh M | AJAX & XML | 0 | 12-20-2008 06:50 AM |
| state the difference between Encapsulation and Data Abstraction?? | sudampanigrahy | OOPS | 5 | 10-16-2008 09:57 AM |
| C++ Abstraction An Introduction | Lokesh M | C and C++ | 0 | 04-27-2007 12:52 AM |