double [] myList = {1.9, 2.9, 3.4, 3.5}; What is the output of System.out.println(“Result:” + myList[2] + myList.length)? Please explain. would the answer also be different if it were an int? If 3.4 is myList[2], how does it get to 3.44? How is the value of myList.Length = .04?
double [] myList = {1.9, 2.9, 3.4, 3.5};
What is the output of System.out.println(“Result:” +
myList[2] + myList.length)?
Please explain. would the answer also be different if it were an int? If 3.4 is myList[2], how does it get to 3.44? How is the value of myList.Length = .04?