Results 1 to 3 of 3

Thread: Confusion with ABSTRACT and INTERFACE

  1. #1
    Geek_Guest
    Guest

    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


  2. #2
    Expert Member
    Join Date
    Dec 2006
    Answers
    204

    Re: Confusion with ABSTRACT and INTERFACE


  3. #3
    Junior Member
    Join Date
    May 2007
    Answers
    3

    Re: Confusion with ABSTRACT and INTERFACE

    Quote Originally Posted by Geek_Guest View Post
    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
    Abstract classes are used if we want to have some method definition to be in subclass.so that the implemented subclass use that definition.
    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??????????????


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact