Why Does super() Cause Issues in Java Inheritance?

  • Context: Java 
  • Thread starter Thread starter the other guy
  • Start date Start date
  • Tags Tags
    Java
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
the other guy
Messages
19
Reaction score
0
So, I'm new with the JAVA, and I am trying to import the properties of one file, into another. it looks like this-


the executible file will connect to a subclass file (called subclass1), but subclass1 is a subclass to another class file (parentclass)

the parent class will give details, and i want the subclass to override some of them, making ths subclass unique.

im in the 11th hour, id love if someone could for sure give me the answer and not tips since i really can't afford the time!
 
Physics news on Phys.org
Even if someone wanted to give you answers rather than just hints I'd say it must involve a great deal of luck if the answers are to useful for you because as far as I can see there are no specific questions to match the answers to.

However, I'm pretty sure that if you cite concrete code you have made and ask specific questions as to why it this or that doesn't work as you expect, you will get answers. And don't be afraid to ask questions early rather than wait until 11th hour where everything has to be rushed.
 
thats ok, i figured it out in the nick of time. silly problem with housekeeping turns out ;p
im going to keep those items in mind though.