Java - Programming Language
This course covers the basics of programming in Java. Work your way through the videos/articles and I'll teach you everything you need to know to start your programming journey!

Return

Lesson 14
Author : Mike Dane
Last Updated : October, 2017


Code

Copypublic static void main(String [] args){
     int sum = addNumbers(4, 60);
     System.out.println(sum);
}

public static int addNumbers(int num1, int num2){
     return num1 + num2;
}