Computer Science, asked by pl123, 10 months ago


1) What is a function? Why do we use functions while program handling in java

Answers

Answered by yashkumar44
1

Just for two reason :

>>To cope up with complexity as big program is now divide into segment and can be easily debug means we can check our mistakes easily

>>Reusability of codes ; if we declare a function as public we can use it outside our compiled program in some other program.

Similar questions