Tuesday, December 30, 2014

Java Tutorial For Beginners 17 - Parameter passing and Returning a Value...













1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
package lesson1;
public class MyClass {

 public static void main(String[] args) {
  
  int sum = Add(100,201,211);
  int result =sum * 15;
  System.out.println(result);
 }
 
 public static void sayHello(String name) {
  System.out.println("Hello " + name);
 }
 
 public static int Add (int a,int b,int c)
 {
  //System.out.println(a+ b +c);
  return (a +b+c);
 }

}














java method arguments ellipsis

java method arguments vs parameters

java method arguments pass by reference

java method arguments list

java method arguments final

java method argument annotation

java method argument array

java method argument three dots

Partner Sites

VideoToGifs.com

EasyOnlineConverter.com

SqliteTutorials.com


Stuff I use to make videos

Windows notebook - http://amzn.to/2ADOPrW

Apple MacBook Pro - http://amzn.to/2AC0WG2

Microphone - http://amzn.to/2AC1kV0

notebook mouse - http://amzn.to/2BmeZ2d