answersLogoWhite

0


Best Answer

Sorry I don't Think I could Solve It

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why the actual arguments declared as float is accepted only as double in formal arguments in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How would you write a function prototype for a function named calcAreaReact that accepts two arguments width and length and returns the area.?

double calcAreaRect (double a, double b);


What was jeannes double impulse?

Jeanne wants to be invisible, and accepted.


What is the Simple definition of power in c basic program?

A mathematical function declared in math.h: double pow (double b, double q);


Why molecular mass of sodium chloride is double of actual?

The molar mass of sodium chloride is 58,439 769 28 g. I don't understand "double of actual".


How the double helix model became the accepted structure of DNA?

The double helix model became the accepted structure of DNA because it fit the experimental evidence, especially from X-ray crystallography of the DNA molecule.


How many bytes are allocated when a variable is declared in union?

The total number of bytes allocated to the union will be the same number as would have been allocated if instead of the union was declared the largest member of the union. For example, if you declared: union myUnion { char c; int i; double d; } u;, then the space allocated to u will be the size of a double.


Which is the syntax used for passing a structure member as an argument to a function?

You can pass the address by using '&' with the pointer variable, while passing actual arguments. In formal arguments '*' is used in the place of '&'. To pass the address of a pointer variable a double pointer variable should be used .


Do single-quoted string literals have any characteristics difference from those of double-quoted string literals?

The literals with single quotes are Characters and can have a width of only one. Ex: 'y' or 'a' etc Strings cannot be declared using single quotes. They have to be declared with double quotes.


What is the value of a Sauer Beretta Model S56E?

value varies depending on condition choke restriction guage 12 or 20 ga double triggers or single ( you'll hear arguments for both as higher value) Have seen sales from a lows of $750 to highs of $1250 over the last 2 years not asking prices, actual sales


Difference between function overloading and default arguments?

A default constructor is one where no arguments are declared or required. Thus if all arguments have defaults then it is still a default constructor, but one that can also serve as an overloaded constructor. Consider the following which has two constructors, one with no arguments (the default) and one with two arguments (an overloaded constructor): struct A { A () : x (42), y (3.14) {} A (const int a, const double b) : x (a), y (b) {} int x; double y; // ... }; We can invoke these two constructors as follows: A a; // invokes default constructor (a.x is 42, a.y is 3.14). A b (0, 1.0); // invokes overloaded constructor (b.x is 0, b.y is 1.0). Since both constructors are essentially doing the same thing, they can be combined into a single constructor -- we simply make the 'magic numbers' the default values of the overloaded constructor: struct A { A (const int a=42, const double b=3.14): x (a), y (b) {} int x; double y; // ... }; A a; // a.x is 42, a.y is 3.14. A b (0, 1.0); // b.x is 0, b.y is 1.0. As far as the calling code is concerned, nothing has changed, but the class declaration is simplified by removing a redundant constructor.


What did the Americans do to help double the French debt between 1770 and 1780?

They accepted French help during the American Revolution.


What is the double disc of the twilight DVD?

The double disk of the twilight DVD is the actual movie plus bonus features. If you love Twilight, I would highly recommend it!