GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  Programming  >  Java
Go To First  |  Previous Question  |  Next Question 
 Java  |  Question 333 of 873    Print  
How are arguments passed between methods ? Is it by pass-by-value or pass-by-reference ?

  
Total Answers and Comments: 1 Last Update: December 02, 2005     Asked by: sauveer_acharya 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 02, 2005 08:42:47   #1  
Techie.        

RE: How are arguments passed between methods ? Is it b...
The arguments are passed by value.
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer :  In c,there are argc and argv.argc is passed to argv and argv is used to store characters.in java there is only args.we pass a String value to it. ...

Latest Answer : Thisb java.lang.reflect package is uesd retrieve the member info for any loaded class.for example,Class c=Class.forName("java.lang.String");Method m[]=c.getDeclaredMethods();now m contains all  declared method for String classhere String is loaded class.this ...

Latest Answer : The method can be overloaded only on the following basis :1. The method name are same (including the case . viz. addname and addName are not the same)2. The signatures(argument)  of the method .return type can not be used for the method overloading. ...

Latest Answer : Apart from init,start,stop and destroy the Applet class has the following methods:1. public void paint(Graphics)2. public void repaint3. public void update(Graphics)4. public void showStatus(String)5. public String getParameter(String) ...

Latest Answer : yes, we can communicate between 2 applets  by using its appletContext() methods.  ...

Latest Answer : final class cannot be subcassed ...



Latest Answer : if we want give information at runtime we use comand line args. ...

Using Java Reflection how can i call a method which i specify in a JSP page.i mean if i have 3 methods in my java class when i specify one of my method name in Jsp page in a textbox when i submit the page that particular method has to be called using java Reflection
Read Answers (1) | Asked by : Vidhya Srikanth


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

jQuery Reference

jQuery Reference Guide by Jonathan Chaffer and Karl Swedberg A Comprehensive Exploration of the Popular JavaScript Library jQuery Reference Guide packtpub com jquery reference guide Open Source book Anatomy of a jQuery Script He s got a brand new start Now he s a happy guy Categ
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

How to define command line arguments

The main functions can have arguments passed which are called as command line arguments. There are two command line arguments: Argument count denoted by argc and Argument vector denoted by argv The argc is an integer variable which denotes the number of parameters passed and argv is pointer to a
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school’s al
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

Programming Languages Certification

IT Certification programs have several options that will offer you the best knowledge.  By learning everything that you need to know about information technology you will be able to open new doors to your career and personal business desires.  IT Certification offers several vari
 

JavaScript Window Object Timeout Methods

JavaScript Window Object Timeout Methods In this JavaScript tutorial you will learn about setTimeout clearTimeout and open methods of window object along with syntax usage and examples for each method mosgoogle center setTimeout The setInterval method of Window object is used to call a function or
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape