Ask a New Question

Asked by Jake

How do I make a util class with a method name that is add, and returns the result by adding two numbers.
10 years ago

Answers

Answered by Jake
This is in java but in the program eclipse:


public class Util {

public static int add(int firstNumber, int secondNumber) {
int first= 2;
int second=3;
int second - Util.add(int, int)

}

}
10 years ago
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions

My art class wants me to make a cartoon for opinions. since im christian and im realizing how other... She asked her class to make true statements about the scatterplot. Which of the statements would be... Q.1.4 Make use of a class named EstateAgent that contains methods to calculate estate agent sales,... She asked her class to make true statements about the scatterplot. Which of the statements would be... How to make a stool for class 1 In class I had to make an organism and explain how it adapts to it's imaginary environment. We have... GUYSSSfqwouyf make a class fight in the answers section!!!!! if you do u get a free occulus and coo... A class can make equal teams of 5 for basketball, or equal teams of 6 for volleyball. Each student i... 1. Chipo has the following utility function of 2 goods Pies (X) and fanta (Y): U= log X + log Y.... define util
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use