I\'m new in programming and I would like to know where did I go wrong in instantiating an object. Below is the code:
public class Testing{ private int Sa
Sample method returns integer, so get the result and use it anywhere.
public static void main(String []args) { int myTest = Sample(4555);//input may be any int else System.out.println(myTest); }