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

26th Oct 2016, 4:37 PM
Mario
Mario - avatar
4 Answers
+ 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
3rd Nov 2016, 2:41 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
0
p*x^i is not a type it is an expression, please can you say what you want actually
29th Oct 2016, 4:47 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
0
yes i mean a type of the expression, an example sorry for not being clear
1st Nov 2016, 10:29 AM
Mario
Mario - avatar
0
thanks, i will try!!!
3rd Nov 2016, 1:09 PM
Mario
Mario - avatar