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

digital marketing ppt-u1

SOFTWARE

cn lab

Computer Operations and Performing - D L Unit-1-1

DBMS Degree Lab Records

DS-Record-mca-04) write a program for evaluating a given postfix expression using stack.

Unit-1 Foundations of Software Systems and Blockchain

Access the Internet to Browse Infromation & E-Mail Operation- D L Unit-2-1

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

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