QuestionAsk Questions?

Posted in : Java Beginners

You are to choose between two procedures, both of which compute the mini¬mum value in an array of integers. One procedure returns the smallest integer if its array argument is empty. The other requires a nonempty array. Which procedure should you choose and why?

just this:

Which procedure should you choose?

why you have chose it?

just explaination with out coding

In my understanding I choose the non-empty array because may be the value of the empty array can be the smallest integer of the empty array.

so i need your help to know is it correct or wrong

Thank you

just this:

Which procedure should you choose?

why you have chose it?

just explaination with out coding

In my understanding I choose the non-empty array because may be the value of the empty array can be the smallest integer of the empty array.

so i need your help to know is it correct or wrong

Thank you

View Answers

Related Tutorials/Questions & Answers: