+ 3
How to solve?
class Array{ public static void main(String args[]){ Arraylist<integer>list=new Arraylist<integer>(); list.add(4); list.add(2); list.add(3); list.removed(2); Collection.sort(list); System.out.println(list .get(0)*list.size()); } }
2 ответов
+ 4
You must not be posting challenge questions here, just try to figure out the answers yourself (use the Java course for any help).
btw, it's remove() not removed()
https://www.sololearn.com/learn/Java/2179/
+ 3
Ok thanks 😊