Don't like ads? PRO users don't see any ads ;-)
Guest

Michael Program

By: a guest on May 15th, 2012  |  syntax: Java  |  size: 0.26 KB  |  hits: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. public class StartingPoint{
  2.        public static void main(String [] args){
  3.            System.out.println(addTwoNumbers(1,2));
  4.        }
  5.        public static int addTwoNumbers(int i, int j) {
  6.            int y = i*1+j;
  7.            return y;
  8.        }      
  9. }