Computer Science, asked by hgusyd, 1 year ago

what are the advantages of methods in Java​

Answers

Answered by Anonymous
49

Advantages of methods are as follows :

The methods help to implement our task easier .

⏩ It saves a lot of time in case of several operations and several tasks .

⏩ The methods help in data security .

⏩ The methods also enable polymorphism .

⏩ Methods can be overloaded or over ridden .

⏩ Methods allow recursion and it acts as a loop .

Answered by amitaagarwal4827
7

Answer:

code reusability and reduce the project code size.

Similar questions