whatis arguments &what is default argument

Answers were Sorted based on User's Feedback



whatis arguments &what is default argument..

Answer / sreenivas.lsvr

Arguments are passed to parameters. Arguments are should
have some values, but parameters are declared in the
function, its only declaring the variables.

Default arguments depends on corresponding parameters.

Is This Answer Correct ?    2 Yes 0 No

whatis arguments &what is default argument..

Answer / rakesh kumar mishra

Every Method have 0 or more than 0 argument.
If method have zero argument that is called default argument.
Arguments are passed in method parameter.
In every java program one default Constructor will be with
default argument.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Java J2EE AllOther Interview Questions

what is the difference between checked and unchecked Exceptions?

4 Answers   CTS,


What are the interfaces in java collections? : java collections

0 Answers  


2. Write a interface "Car" with the following methods void setName(String) String getName() void setColor(String) String getColor() void setModel(long) long getModel()

1 Answers  


What are the main classes of the list interfaces? : java collections

0 Answers  


what is the difference between through and throws?

2 Answers   HCL,


waht are architecture of web application?

2 Answers  


how to deploy the web application ?

2 Answers   Accent,


How many controlers are there in spring? Plz send me ans

1 Answers   HCL,


What is deque in the java collections framework? : java collections

0 Answers  


which book is the best for preparing for SCWCD 1.5

4 Answers   Google,


What are the different types of features of the java collections framework? : java collections

0 Answers  


what debugging tool that can be used to debug the java programs?

1 Answers   Inforica,


Categories