Results 1 to 2 of 2
  1. #1
    Addez is offline Senior Member
    Join Date
    Aug 2009
    Posts
    294
    Rep Power
    0

    Default Run the constructor method of the class that I extended possible?

    Hi!

    I got a class called AIBrain
    it got some important stuff in the constructor, and I need it to call when my class Tank
    is constructed.
    Problem is that it doesnt.

    I can't do super.blahblah() because AIBrain extends AbstractAppState..
    Anyways, how do I call the contructor method in AIBrain from the contructor in Tank that extends AIBrain?

  2. #2
    Addez is offline Senior Member
    Join Date
    Aug 2009
    Posts
    294
    Rep Power
    0

Similar Threads

  1. Extended Class - Cannot Find Symbol
    By javak in forum New To Java
    Replies: 15
    Last Post: 02-27-2011, 05:43 PM
  2. Replies: 0
    Last Post: 04-15-2010, 01:00 PM
  3. Returned type changes if class is extended. How?
    By Gelembjuk in forum New To Java
    Replies: 10
    Last Post: 10-31-2008, 12:18 PM
  4. Replies: 0
    Last Post: 12-19-2007, 10:10 AM
  5. Replies: 0
    Last Post: 12-19-2007, 10:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •