I am having a problem to understand how class inhertance works in Java.. Now I want to get information from a class to another and let's say we have class A and class B class A contains a string an int and a byte
class B contains a String and an int
but class A contains a constructor that have values set and based on a method
what I am trying to do is pass and add the values of class A and B together in one new constructor that is based on the constructor that is initlized in class A.. I know I make it sound so complicated but this is the best way I can explain it, please let me know if you need further information about it. I would really appericate the help.