1 what is method overloading 2what is the purpose of a


1. What is method overloading?

2. What is the purpose of a constructor?

3. How do you call a method of one class from a method of another class?

4.(a.) Explain how Java programs are compiled and run, and how this differs from the way most other programs are compiled and run.

(b.) Explain with the aid of a diagram the advantages of object oriented approach over structured approach to modular design.

(c.) Write a method that (a) returns the maximum value in an array (b) a method that searches an array and returns the position of an item within the array or -999 if the value is not present in the array.

(i). Write a short menu driven program that makes use of the above methods(array method)

Solution Preview :

Prepared by a verified Expert
JAVA Programming: 1 what is method overloading 2what is the purpose of a
Reference No:- TGS01205771

Now Priced at $10 (50% Discount)

Recommended (99%)

Rated (4.3/5)