JAVA-Record-04)AIM: Write a Java program that implements method overloading

 04)AIM: 

 Write a Java program that implements method overloading

 Algorithm  

Step 1: Start,

Step 2: Read Method (add) Inputs ,

Step 3: Calculate Sum = A + B ,

Step 4: Print " Sum ",

Step 5: Read Method (add) Inputs ,

Step 6: Calculate Sum = A + B + C ,

Step 7: Print " Sum ",

Step 8: Stop.

Flow Chart:

Code:04

Output:01





 

 

 

 

Comments

Popular posts from this blog

SOFTWARE

Unit 2: Foundations of Ownership, Security Related Concepts in Blockchain

Unit-1 Foundations of Software Systems and Blockchain

e-com sem-3

6)what are the various service of internet and protocols ICT-unit-1

digital marketing ppt-u1

Unit-V: Image Manipulations, Audio and Video & Introduction to JavaScript

Unit-III: Cascading Style Sheets (CSS) - HTML

Unit-II: HTML Coding Standards & Elements

1) Information and Communication Technology ICT-unit-1