I am developing a software, in which at one point the system should get a value informed by the user using the class Scanner and insert it into an array and then return an array with the values entered by the user, but I can not do Scanner conversion to double. Here's the line of code:
double[] a = [Double.parseDouble(vlrus.nextDouble() + "")];