What are parameters in a method?



What are parameters in a method?..

Answer / Keerti Pandey

Parameters are values that you pass to a method when you call it. They allow methods to be flexible and reusable by changing the behavior based on different inputs.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Define iterator and methods in iterator?

1 Answers  


Define inheritance?

1 Answers  


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

1 Answers  


What do you mean by buffering?

1 Answers  


Does 'true' and 'false' are keywords?

5 Answers  


define polymorphism in java

1 Answers  


what is inner class in java?

1 Answers   IBS,


What is slash r?

1 Answers  


What is callablestatement? How you can call stored procedure to pass in parameter?

1 Answers  


What is a get method?

1 Answers  


What are implicit objects in java?

1 Answers  


What is the use of conditional statement?

1 Answers  


Categories