Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

JAVA: How do you use methods from another class if the class I am trying to use these methods in, has already extended/inherited from another class?

JAVA:

How do you use methods from another class if the class I am trying to use these methods in, has already extended/inherited from another class? For example, I have a GUI class, public class Grid, that creates a GUI of a 6x7 matrix and has a 2D array 6x7 that is populated whenever buttons on the GUI are pressed. All of the logic to add variables to this 2D matrix are located in another class, class Logic. My question is that since class Grid already extends Application, due to the GUI, how do I reference and use the logic code in class Logic?

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question