Explain function arguments with the help of an example, JAVA Programming

Assignment Help:

Explain function arguments with the help of an example?

Arguments on a function are comma separated list of data enclosed within braces. It describes interface among the web page and the function. Arguments values are passed to the function through value or by reference. This data that have been passed to function is then used in which function for some specific reasons. Example Function sold (a,b)//a function 2 arguments a and b ........

C=a+b;// here 2 arguments that have been passed to functions are being used return c;}

sum1=add (2,4);// the function is being called with 2 integer arguments 2 and 4 sum2=add(9,6);// the function is being called with 2 integer arguments 9 and 6
document. Write(sum1);
document. Write(sum2);


Related Discussions:- Explain function arguments with the help of an example

What is the difference between SOA and a Web Service, Normal 0 ...

Normal 0 false false false EN-US X-NONE X-NONE

Web application in Java.., 1. Go to www.bytesizebook.com 2. Follow the firs...

1. Go to www.bytesizebook.com 2. Follow the first link: Guide to Web Development with Java 3. Click on Examples tab 4. Go down to Chapter 4 to find all jar folders, packages, class

Explain about class in java, In Java everything exists within a class. It d...

In Java everything exists within a class. It describes the behavior of the class and its characteristics. Java applications and applets are built in the class. Rules present for cl

Prob, hi there I have some problem on java .. can u do it for me

hi there I have some problem on java .. can u do it for me

Explain subclasses and polymorphism, Explain Subclasses and Polymorphism ? ...

Explain Subclasses and Polymorphism ? Car and Motorcycle are subclasses of MotorVehicle. If you instantiate a Car or a Motorcycle along with new, you can use in which object a

Describe the class or static members, Describe the Class or static Members ...

Describe the Class or static Members ? A method or a field in a Java program could be declared static. That means the member belongs to the class rather than to an individual

Activity diagram, The statechart diagrams and activity diagram are related ...

The statechart diagrams and activity diagram are related in a sense that statechart diagram refers on object undergoing a transition process and an activity diagram refers on the f

Define in detail the building of webpage, Question 1 Describe the browser ...

Question 1 Describe the browser components and its features Question 2 Define in detail the building of webpage Question 3 How to use forms? Describe with an example

What are trojan horses, What are Trojan Horses? Trojan Horses are unlik...

What are Trojan Horses? Trojan Horses are unlike viruses usually they are stand-alone programs. The look such as what they are not. They appear to be something harmless and int

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd