Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain pass by reference and pass by value?

Answer Posted / chinmay

passing the value instead of reference is known as pass by value,here primitive data should be given...
now pass by reference
Demo d=new Demo("abc");
Demo c=b;
here we pass the reference instead of value..
it is called pass by reference

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differences between traditional programming language and object oriented programming language?

1181


How do you compare objects in java?

1015


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

1219


What are 3 data types?

1040


What is run time allocation?

1077


What is immutable in java?

1130


What is type safety in java?

1001


Explain about data types?

1150


Write a factorial program using recursion in java?

1088


What is the locale class in java programming?

1159


Can I learn java without any programming experience?

1091


Who found java?

1028


What is difference between overloading and overriding in java?

1081


What are different types of classloaders?

1075


What method is used to specify a container's layout in java programming?

1208