Java Why Does super() Cause Issues in Java Inheritance?

  • Thread starter Thread starter the other guy
  • Start date Start date
  • Tags Tags
    Java
AI Thread Summary
The discussion centers on a user new to Java who is trying to import properties from one file into another, specifically connecting an executable file to a subclass (subclass1) that inherits from a parent class (parentclass). The goal is for the subclass to override certain properties from the parent class to create unique functionality. The user expresses urgency in needing definitive answers rather than tips, emphasizing the importance of clear, concrete code examples and specific questions to receive useful guidance. Additionally, there is a suggestion that asking questions early in the process can prevent last-minute issues, as the user ultimately resolved a minor problem in their code.
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!
 
Technology 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.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...

Similar threads

Back
Top