SyntaxFix
Write A Post
Hire A Developer
Questions
Try this,
ArrayList<Double> numb= new ArrayList<Double>(Arrays.asList(1.38, 2.56, 4.3));