I have recently started working JAVA in a college assignment on which I'm the only one working with. I cannot wait and am desperate to solve this problem as soon as possible. What I have done until now is that I have created two classes and a main method. The classes are named as class 1 and class 2. Main method belongs to class 1, it is really irrelevant. How do I call a method I've made in class 1 in class 2?
Bookmarks