Java how to call method in another class
问题 Sorry for the basic question but I'm learning, new to programming. I am trying to call a method that is in another class but I'm unable to without passing in the required values for the constructor of Cypher class. Do i really need a new instance of Cypher class each time i use a method in the Menu class and want to call a method of the Cypher class or how do I rewrite to avoid below. public class Runner { private static Cypher c; public static void main(String[] args) { Menu m = new Menu();