Question: Write a program with a method named getTotal that accepts two integers as an argument and return its sum. Call this method from main( )
Write a program with a method named getTotal that accepts two integers as an argument and return its sum. Call this method from main( ) and print the results.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
