python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Specific Analysers Have Only Minimal Code java
How do i make my code more compact? I know i should use inheritance, but i am not sure how to use it in this case...most methods are pretty similar, but not exactly...
package inheritance.analyser;
i...
alright212
Votes: 0
Answers: 0
creating a superclass object by using subclass' constructor
let's say we have a superclass Person and a subclass Child, I'm ok that
Person a = new Child();
the statement works as Child is a subclass of Person, so it's permitted in java, but I can't stop thinki...
Yu Hu
Votes: 0
Answers: 0
Super class is not passing along values
Super class is not functioning, as when the Steelfactory class try's to get the data from the super class, the output shows that there is noting there.
Looking to solves as to why this might be happen...
Tusk
Votes: 0
Answers: 1
Childrens can't get the updated Parent values
I'm trying to create a Bank system using inheritance, the problem comes when the children BankAccount tries to retrive it's parent values, it gets the initial values of the Bank class, numberAccounts ...
Asahi Sara
Votes: 0
Answers: 1