8:26 pm - Thursday April 25, 2019

Tag Archives: Pass by value

Java Example Program to explain Pass By value to a method

/* Program for pass by value*/ /** *@author:Candidjava.com *@Description: passing values to method */ public class form { String name; int age; String gender; int exp; int sal; void setData(String n,int a,String g,int e,int s) { name=n; age=a; gender=g; exp=e; sal=s; } void...