0
Hello everyone, i have to create a list of objects(so i think i should use the ArrayList) "Monomio" of type p*x^i, where p is a RationalNumber p=a/b with i>=0 and b:=0.... can you help me to do this? thanks.
Create an object
4 ответов
+ 1
I think you can use try catch method that gives a error if b=0 and give another condition that it will give an error if i is smaller than 1
0
p*x^i is not a type it is an expression, please can you say what you want actually
0
yes i mean a type of the expression, an example sorry for not being clear
0
thanks, i will try!!!