+ 1
How to implement more than one class (java)?
Hello, I have to write a code that shows different scenarios of two masses (boxes) moving. the masses are connected to each other. I have a class for the boxes called Box.java and I want to use it in my main class Application.java but the main is already extended to JFrame. So my question is how do I implement box.java in Application with all its attributes and methods?
1 Resposta