How to call a method of another class without creating an object of it and static in java? : <p>I have a method in a class which should be called in another class. I do not want to call it by instantiating an object as it leads to new object creation, instead I want to have the data processed in previous class. So how can I navigate to previous class and execute the method without creating the object?</p>
