Inheretence is driving me crazy, help a n00bie out.

I am driven insane by inheratance. In class we are using Blue J. The book we have does not have a good example. If anyone knows how inheretance is supposed to work and how to work multi inheretance with print statements please help me out. If I were to go into length and explain the project it would take me a while, so please AIM me at mojojojo535.
If you choose to help me out, you can check out my code:
http://www.maj.com/gallery/Psycho/dadump/sub/game.txt
http://www.maj.com/gallery/Psycho/dadump/sub/movie.txt
http://www.maj.com/gallery/Psycho/dadump/sub/item.txt
http://www.maj.com/gallery/Psycho/dadump/sub/store.txt
My classes are arranged like so:
Store - - - -> Item <--- Game
^----Movie
Thanks for your help.

Guys ! Guys ... stop fighting over the usage of inferences ....
thanks a bunch for replying
to clerify my program is supposed to read from two files (one with game data one with data from movies)
take that data
make an arraylist of items
and then have a print statement of all games and movies specifying which one is a game and which is a movie by saying :
Movie: 1237 Star Wars 235 20050220 Director: Speilberg
and
Game: 2245 Harry Potter Sorc Stone 0 0 Platform: Gameboy
I have figured out how to do my print statements. They should be like:
public String toString() //creates a print out line
String line01 = " Game: ";
String line02 = super.toString();
String line03 = " Platform: " + platform;
return line01 + line02 + line03;
public void print()
System.out.print(toString()); // sends out the print line
System.out.println(); // goes to the next line
i think my only problem is how to make STORE create an arraylist of ITEMS.
Like how do I specify that director field should go into movie ?
how does the computer know where to put them ?
it seems like nothing is going into the game and movie classes
i will update my code in a second ... to see how far i progressed ... or degressed
thanks a bunch on all replies

Similar Messages

  • HT1320 How do I reset my I-Pod Shuffle (2nd Gen?) to get rid of the old music in its memory - driving me crazy trying to find out??

    How do I delete the existing songs on my I-Pod shuffle! Its driving me crazy.
    Thanks
    Andy

    Hi there,
    You may find the article below helpful.
    Restoring iPod shuffle to factory settings
    http://support.apple.com/kb/HT1481
    -Griff W.

  • My i tunes won't open. i keep getting error7 (windows error 193) . contacted microsoft(thought it was a windows thing...not) have uninstalled itunes and everything related to it ,re installed and message still comes up. Help please,driving me crazy.

    help. my iTunes wont open. I keep getting the message error7 (windows error 193). contacted Microsoft they said contact iTunes support. I have uninstalled all iTunes componets and then reinstalled everything but message still comes up... its driving me crazy.

    If it's a Windows error, it's typically going to be a Microsoft problem. Uninstall any security software you have and if you have a restore point for your PC, you may want to restore your PC back to when iTunes was working normally. If none of those work you would need to contact Microsoft and demand help.

  • I can no longer back up my iphone to my computer on selecting 'sync'. I can back up to iCloud but I get an error message telling me I cannot backup to my Mac. Can any one help? It's driving me crazy!

    I can no longer back up my iphone to my computer on selecting 'sync'. I can back up to iCloud but I get an error message telling me I cannot backup to my Mac. Can any one help? It's driving me crazy!

    Hello joelfromn. charleston,
    It seems you are unable to activate iMessage on a device with no carrier service. The following article provides information regarding activation issues:
    If you get an error when trying to activate iMessage or FaceTime - Apple Support
    Check your device settings
    Make sure that you’re connected to a cellular data or Wi-Fi network. If you're using an iPhone, you'll need SMS messaging to activate your phone number with iMessage and FaceTime. Depending on your carrier, you might be charged for this SMS.
    Go to Settings > General > Date & Time and make sure that your time zone is set up correctly.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    Bobby_D

  • Please help me fix this problem it's driving me crazy. I have tried installing and reinstalling photoshop EXTENDED several time and each time i lunch it ask me for the serial number in which i entered it once entered nothing happens

    Please help me fix this problem it's driving me crazy. I have tried installing and reinstalling photoshop EXTENDED several time and each time i lunch it ask me for the serial number in which i entered it once entered nothing happens

    Hi Glenn,
    Kindly try out the steps mentioned in the link below and see if you are able to serialize your software.
    Sign in, activation, or connection errors | CS5.5 and later, Acrobat DC
    Try Solution 2: Clean up cached user login information.
    Please share the results after performing the steps.
    Thanks,
    Atul Saini

  • Oracle 10g Rel2(10.2.0.3) on Vista ultimate driving me crazy, Please HELP

    Hello Folks and Expert,
    I am Certified Ora DBA and am stuck, thats a shame
    I am going to install and Test Oracle 10g on Vista as my future client will use Just Vista and no othr OS, so there is no OTHER OS options,
    I ready all the documentaiotn and release notes and also read that Oracle 10g(10.2.0.3) is certified on Vita Ultimate.
    I downloaded the DB which is frm the below link:
    Oracle Database 10g Release 2 (10.2.0.3/10.2.0.4) for Microsoft Windows Vista and Windows 2008
    *** It installs but it justdoesn't work properly, PLEASE HEEEEEEELP I am running out of time.
    steps I have done:
    1. Installed loppback and tested and it works when I ping, both ping computer and ping computer.domain with no error.
    - whic means under windows>system32>driver> etc>host I added the 10.10.10.10 and cmputer name.
    2. Under MMC I added cmputer local policy for local computer
    3. Also Under "Local security setting" under "Local Policies" Under "User right Assignment" Under "Log on as a Batch job" I added the User name which was created when weload the Vista for the first time which is the Computer Admin, ALSO REALOADED THE COMPUTER WITH TH FACTORY SETTING AND AFTER THE FIST BOOT, UNLOCKED THE "ADMINISTRATOR" USER OF THE OS AND TESTED WITH THE ADMIN USER AS WELL WHICH WAS ADDED TO THIS lOG ON AS A BATCH JOB.
    4. Restarted the Computer on all the step that I had to
    5. Downloaded the DB and installed the DB, it installled without any Error
    ******************My Questions are as belooooowww ******************
    When Oracle installd he prduct, usually under the
    Start menu> All programs we should have 4 folders (Application Development, Configuration and Migration, Integrated management tools, Oralce installlation products) and DATABASE CONTROL - ORCL
    a - when installation finishesh it JSUT DOESN't CREATE ------> DATABASE CONTROL - ORCL Whyyyyy ? (It is driving me crazy, I have another xp machine and it has also I had EVEN Vista Home premium and I was able to install on it before to test)
    b - I can loging to the database after i type the adress I remembered manually in the browser, it logs in without any errror, but
    When I want to shutdown the database It passes the host crendential once and I wait and it does nothing and a little windown pops up and says
    *"Enterprise manager stopped working"*
    C - To test and stop Listener also it just doesn't stop it and doest the samething,
    I just wannna CRYYY, it is getting me Crazy,
    PLEASE HELP ME with all THREE QUESTONS A,B,C PLEASE HELLLLLLPPPPP
    Rgrds,

    Hello Folks and Expert,
    I am Certified Ora DBA and am stuck, thats a shame
    I am going to install and Test Oracle 10g on Vista as my future client will use Just Vista and no othr OS, so there is no OTHER OS options,
    I ready all the documentaiotn and release notes and also read that Oracle 10g(10.2.0.3) is certified on Vita Ultimate.
    I downloaded the DB which is frm the below link:
    Oracle Database 10g Release 2 (10.2.0.3/10.2.0.4) for Microsoft Windows Vista and Windows 2008
    *** It installs but it justdoesn't work properly, PLEASE HEEEEEEELP I am running out of time.
    steps I have done:
    1. Installed loppback and tested and it works when I ping, both ping computer and ping computer.domain with no error.
    - whic means under windows>system32>driver> etc>host I added the 10.10.10.10 and cmputer name.
    2. Under MMC I added cmputer local policy for local computer
    3. Also Under "Local security setting" under "Local Policies" Under "User right Assignment" Under "Log on as a Batch job" I added the User name which was created when weload the Vista for the first time which is the Computer Admin, ALSO REALOADED THE COMPUTER WITH TH FACTORY SETTING AND AFTER THE FIST BOOT, UNLOCKED THE "ADMINISTRATOR" USER OF THE OS AND TESTED WITH THE ADMIN USER AS WELL WHICH WAS ADDED TO THIS lOG ON AS A BATCH JOB.
    4. Restarted the Computer on all the step that I had to
    5. Downloaded the DB and installed the DB, it installled without any Error
    ******************My Questions are as belooooowww ******************
    When Oracle installd he prduct, usually under the
    Start menu> All programs we should have 4 folders (Application Development, Configuration and Migration, Integrated management tools, Oralce installlation products) and DATABASE CONTROL - ORCL
    a - when installation finishesh it JSUT DOESN't CREATE ------> DATABASE CONTROL - ORCL Whyyyyy ? (It is driving me crazy, I have another xp machine and it has also I had EVEN Vista Home premium and I was able to install on it before to test)
    b - I can loging to the database after i type the adress I remembered manually in the browser, it logs in without any errror, but
    When I want to shutdown the database It passes the host crendential once and I wait and it does nothing and a little windown pops up and says
    *"Enterprise manager stopped working"*
    C - To test and stop Listener also it just doesn't stop it and doest the samething,
    I just wannna CRYYY, it is getting me Crazy,
    PLEASE HELP ME with all THREE QUESTONS A,B,C PLEASE HELLLLLLPPPPP
    Rgrds,

  • Every time I sync my Iphone 5c(with ios 8) to Itunes, it 1. deletes all of my purchased music 2. deletes all of my album artwork 3. replaces all of my deleted songs. please help! this is driving me crazy!

    Every time I sync my Iphone 5c(with ios 8) to Itunes, it 1. deletes all of my purchased music 2. deletes all of my album artwork 3. replaces all of my deleted songs. please help! this is driving me crazy! It syncs 100+ songs, when I only want to sync 1! I'm running Itunes 11.3.1.2

    After having experienced similar problems and having it back to work, I have a few suggestions:
    - Try to find out if the syncing stops at a particular track or song. That might - out of the blue - have gotten corrupted in one way or another. Since that song will not be on the iPod, iTunes will try over and over to put it on and crash in one way or another;
    - reformat the iPod as described in the iTunes 9 crash-thread. It takes time (at first it seems to do nothing, but that is because the green bar is moving with very small steps);
    HTH

  • My i tunes is skipping like a scratched cd-help please its driving me crazy..

    my  i tunes is skipping like a scratched cd….please help it is driving me crazy...

    If no change after restoring with iTunes as a new iPhone or not from your iPhone's backup, more than likely your iPhone has a hardware problem. You can make an appointment at an Apple store if there is one nearby.

  • Ok, so if anyone can help me I would greatly appreciate it.  I have a "notification" that goes off every 5 minutes...there is no notification sign to let me know what it is...I have shut off everything I can think of and it is driving me crazy!

    ok, so if anyone can help me I would greatly appreciate it.  I have a "notification" that goes off every 5 minutes...there is no notification sign to let me know what it is...I have shut off everything I can think of and it is driving me crazy!  Any suggestions?

        bailey02,
    Hmm, that's odd! When did you notice this start? Is your phone and applications up to date?
    KarenC_VZW
    Follow us on Twitter @VZWSupport

  • Help!iOS 7.3 its driving me crazy,it freeze when I use de zoom in texts what can o do?

    Help!Help!iOS 7.3 its driving me crazy,it freeze when I use de zoom in texts what can o do?

    I understand why you would think that, but logically it doesn't make sense. I can read and write to the ipod with windows explorer with no problems, so the flash drive seems to be ok. I can also load, read and play songs through Itunes 6 on the computer with no problems. The problems start in Itunes 7 and when the ipod is used as an ipod alone....not a drive. The diagnostic windows tell me the drive is fine and the battery is ok (just a little low on voltage) but hubby says not enough to worry about. If anything was wrong with the hardware I wouldn't be able to use it as a drive would I? Its almost as though the thing is "stuck" on the boot up window of "use Itunes to restore". I even tried to load rockbox. The software all loaded but I still got the itunes restore window on startup and thats as far as I can go. Another thing I noticed recently is I can't seem to turn the ipod off! I can reset it but it just "reboots". After the restore notice about 10 seconds later the whole screen will blank out. Also when I plug the ipod directly to the wall to charge, I also get the apple...then the itunes restore notice...but never a battery charge icon (like my classic 20gb)...is this normal? This nano was given to me - (Also, this is a first generation, but I posted in the second generation thread) Would a repartition work?

  • I just got a MacBook Pro and when I was setting up I got this voice over thing to help me out...I now can't get rid of it and it is driving me crazy...can anyone help?

    I just got a MacBook Pro and when I was setting up I got this voice over thing to help me out...I now can't get rid of it and it is driving me crazy...can anyone help?

    System Preferences > Universal Access. Turn off Voice Over in the "Seeing" tab:

  • TS1394 my friends mac book pro never got an upgrde that allowed her to have the app store on her dock, now I can't help her to upgrade to OSX mountain lion... any ideas on how to do this?? it's driving me crazy!

    my friends mac book pro never got an upgrde that allowed her to have the app store on her dock, now I can't help her to upgrade to OSX mountain lion... any ideas on how to do this?? it's driving me crazy!

    Bad choice, since the cost is exorbitant. Snow Leopard ($29 USD) is available from its online store's telesales agents.[1-800-MY-APPLE (1-800-692-7753) or Customer Service and Sales Support at 1-800-676-2775.]
    Additionally, you can get a MAS redemption code via the same route. See https://discussions.apple.com/thread/4140947?tstart=0 for details.

  • After the new update my ipad4 will not do a full recharge even when turned off overnight and the battery goes flat it 2 hours  it is driving me crazy as I had to stop all apps but still not helping

    After the new update my ipad4 will not do a full recharge even when turned off overnight and the battery goes flat it 2 hours  it is driving me crazy as I had to stop all apps but still not helping but my iPhone 5 is great no troubles at all HELP

    Do you place the ipod in the dock during the night? I did this once and the other day the battery was almost empty because it kept on playing after it rested in the dock.
    Here is more info about battery life and exchange program: http://support.apple.com/kb/HT1322
    and http://www.apple.com/support/ipod/service/battery/

  • Just updated itunes now menu bar has dissapeared no black and white box at top left and ctr b does not bring anything up. i need file view etc please help driving me crazy

    just updated itunes now menu bar has dissapeared no black and white box at top left and ctr b does not bring anything up. i need file view etc please help driving me crazy

    Is the iTunes window in FullScreen mode?
    If so, press esc key.

  • This website is driving me crazy.   All I need to do is to contact a real body for help that is not listed.

    This website is driving me crazy.  All I need to do is to contact a real live body for help that is not listed.
    This shouldn't be that difficult.  GRRRRR

    Post DETAILS about the help you need here and someone may be able to help... some questions to get you started
    From the Premiere Elements Information FAQ http://forums.adobe.com/thread/1042180
    •You MUST use an account with Administrator Privileges to run Premiere Elements
    •(Doing Run as Administrator http://forums.adobe.com/thread/969395 [says Encore and also for "All" versions of Premiere] will sometimes fix "odd" errors)
    •What version of Premiere Elements? Include the minor version number (e.g., Premiere Elements 12 with the 12.0.1 update).
    •What operating system? This should include specific minor version numbers, like "Mac OSX v10.6.8"---not just "Mac"
    •Has this ever worked before?  If so, do you recall any changes you made to Premiere Elements, such as adding Plug-ins, brushes, etc.?  Did you make any changes to your system, such as updating hardware, printers or drivers; or installing/uninstalling any programs?
    •Have you installed any recent program or OS updates? (If not, you should. They fix a lot of problems.)
    •What kind(s) of image file(s)? When talking about camera raw files, include the model of camera.
    •If you are getting error message(s), what is the full text of the error message(s)?
    •What were you doing when the problem occurred?
    •What other software are you running?
    •Tell us about your computer hardware. How much RAM is installed?  How much free space is on your system (C:) drive?
    And some other questions...
    •What are you editing, and does your video have a red line over it BEFORE you do any work?
    •Which version of Quicktime do you have installed?

Maybe you are looking for