Purchase Solution

Explain Java method with Multiple parameters

Not what you're looking for?

Ask Custom Question

This is about methods with multiple parameters:

Could you explain to me (in very simple terms) how methods with multiple parameters are declared?

If possible, could you provide two short examples? I just need to get a head-start so I can implement this to my assignment if it comes up.

Purchase this Solution

Solution Summary

I think you want to know about the distinction between methods with no parameter and methods with more than one parameter. Let's take up the example of a multiplication method.

Solution Preview

I think you want to know about the distinction between methods with no parameter and methods with more than one parameter. Let's take up the example of a multiplication method.

An example of a multiply function with no parameters:

class example1 {
int a = 10; //using ...

Purchase this Solution


Free BrainMass Quizzes
C++ Operators

This quiz tests a student's knowledge about C++ operators.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic Networking Questions

This quiz consists of some basic networking questions.