Computer Science, asked by sandipmanna2005, 8 months ago

Create a class with the following methods:
a)int largest(int a,int b)which finds the largest among two numbers
b)void call() to input 10 numbers and using the above function find the largest among 5 integers

Pls solve this Java program completely

Answers

Answered by gauravarduino
1

Explanation:

In this program, you need to write a method, yes we call the function a method in ... Java Program to find the smallest and largest number in an integer array ... toString() to print the contents of an array.

Similar questions