answersLogoWhite

0


Best Answer

Yes

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can attributes be placed on specific parameters to a method and Why is this useful?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

In java methods what are arguments?

Let's assume you have a method call, and a method, like this:// In the main program:int x = 5;myMethod(x, 10)...// Some lines later:void myMethod (int parameter1, int parameter2){// Do something here}The arguments - values 5 and 10 - are passed to the method, myMethod. This means a copy of these values is passed to the method, for its use. (Technically, the values are placed on the stack, where the other method accesses them.)The method will then have the values available. This allows for a method to be flexible, being able to processes different sets of data. For example, instead of writing a method to calculate the square root of 2, you write a method that calculates the square root of any number - passed as an argument.


Most modern programming languages require that program statements be placed in specific columns?

RPG and Fortran


Which attribute of an HTML form tells the browser how to encode the information?

The enctype attribute indicates how the form data should be encoded. It is placed in the form tag inside it.


List two important things to remember when using an ammeter?

Make sure it is placed in the circut series so you can measure the electrical current at a specific point.


Describe the production of ultrasonic waves by magnetostriction method?

When a ferromagnetic rod of iron or nickel is placed in a magnetic field parallel to its length the rod is thrown into longitudinal vibration thus producing Ultrasonic waves.Check out this site.. For more Info http://www.newagepublishers.com/samplechapter/001649.pdfwhen a ferromagnetic rod is is placed in an alternating magnetic field parallel to its direction the rod experiences a small change in its length.

Related questions

Can attributes be placed on specific parameters to a method?

Not sure about Java. Below only applicable to .Net languages: Yes. But for .net 1.1, only Compact framework has this feature, and available to all from 2.0 and later. Please see AttributeUsage.Parameter in MSDN for details


What is colored tags?

Color tagging is a method of organizing things by marking them with a specific color. This allows for groups of items to be placed together with relative ease.


What would happen if a plant was placed in hypotonic solution?

Nothing would happen to the plant. It will have a normal growth provided other parameters are normal.


Where is the second vector's tail placed when two vectors are added graphically using the tip to tail method?

it is placed at the tip of the first vector


What are some attributes associated with Comerica banking?

Some attributes associated with Comerica banking is Comerica placed first in the survey for the seven consecutive report. Comerica was the top scoring bank in the six of the seven attribute.


How many combinations will there be if there were 6 different colored balls in a bag?

can you refine your question? because for probability type questions the answer is entirely dependent on the parameters set. To give you an idea of how specific to be for this type of question, you can write a whole book on it. i.e. specify whether each ball has to appear in a specific type of order, whether the balls will be placed back into the bag etc


When towing tubes are placed on the mandrels as each row of matting is laid is what type of assembly method?

Build as you go method


What is the name of the additional information placed inside a tag that controls how the tag is used?

The information contained within the opening portion of an HTML tag that controls various attributes of the tag is called the tags "attributes."Attributes follow the format attribute="value" and are added to the tag after it's opening. For instance:In this case, the image tag has two attributes, the src attribute and the alt attribute. The values of those attributes are "a.png" and "A" respectively.


Explain the method of determining the density of urine using urinometer?

A urinometer is a device that determines the specific gravity of urine. It is placed in a urine tube, and where the meniscus of the urine reaches, it is considered its specific gravity.


Which steam-powered method of transport quicky out placed transport by canal?

train


What is an example of an issue that could be placed on a referendum?

a example is "a method of referring a bill to the voters"


Which was NOT a method used by the Continental Congress to raise money?

they placed a tariff on british imports.