Shohibul Jalal

Shohibul Jalal

  • 1.9k
  • 12
  • 2.2k

How to Call a class

Sep 7 2016 3:12 PM
i have built a small program, but i have problem when i want to call class to Main . <br /><br /><div>here is the code : </div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;class Operation<br /> {<br /> &nbsp;&nbsp; &nbsp;&nbsp; public static int[,] addition(int x, int y, int z, int c)<br /> &nbsp;&nbsp; &nbsp;&nbsp; {</div><div>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; //some of my code</div><div>&nbsp;&nbsp; &nbsp;&nbsp; }</div><div>}</div><div>&nbsp;</div><div>I want to call it into main and show all off the value inside that class. Could you help me to solve this</div><div> </div>

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (6)