Prepare for your Next Interview
This is a discussion on Confusion with ABSTRACT and INTERFACE within the Java forums, part of the Software Development category; Question asked by visitor anil I have a bit confusion with ABSTRACT and INTERFACE. What does it means .. Where it is used... When should used... How does it work.... Tell ...
|
|||
|
Confusion with ABSTRACT and INTERFACE
Question asked by visitor anil
I have a bit confusion with ABSTRACT and INTERFACE. What does it means .. Where it is used... When should used... How does it work.... Tell me clear in all possible way |
| The Following User Says Thank You to Geek_Guest For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Confusion with ABSTRACT and INTERFACE
|
|
|||
|
Re: Confusion with ABSTRACT and INTERFACE
Quote:
Suppose if we dont know the defintion ,we only know the syntaxwe declare that method as abstract. Abstract class may have both abstract& concrete methods in it. so abstract classes are uses if we know definition of some methods & dont know the def of some methods As the abstact classes are classes we cant implment multiple inheritence. For this feature interfaces cam ein to existence. interfaces consists of all abstract methods. so we can implment more than one interface feature in our class. Is it ok?????????????? |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IP addresses:confusion | vmshenoy | Networking | 12 | 1 Week Ago 11:42 PM |
| Abstract, final and static keywords | Geek_Guest | Java | 2 | 12-25-2007 09:48 AM |
| difference between abstract class and interface | manipalreddy.s | Java | 12 | 10-25-2007 07:06 AM |
| COM interface | JobHelper | QTP | 1 | 03-30-2007 02:07 PM |
| interface..... | psuresh1982 | Java | 1 | 01-08-2007 01:40 PM |