I need to call a method after the constructor has ended and I have no idea how to do. I have this class:
Class A { public A() { //... }
What did you so far? Are you looking something like this?
Class A { public A() { //... } public void init() { //Call after the constructor } } public static void main(String[] args) { A a = new A(); a.init(); }