Results 1 to 3 of 3

Thread: Inheriting constructors

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Oct 2007
    Answers
    1

    Inheriting constructors

    My Question is whether constructors are inherited?
    Please give me ur views ....


  2. #2
    Junior Member
    Join Date
    Sep 2007
    Answers
    7

    Thumbs up Re: Inheriting constructors

    Hi,
    Constructors never get inherited. But always a superclass constructor will run before the child class constructor.
    bye..

    Last edited by admin; 10-23-2007 at 04:35 AM.

  3. #3
    Junior Member
    Join Date
    Jan 2007
    Answers
    22

    Re: Inheriting constructors

    well , the subclass constructor has access to the superclass' constructor but subclass constructor can't override the superclasses constructor , so NO its not inherited.


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