Sir/Madam, When I am repeating the program with different values of marks and then use Arrays.toString(marks) I get different values in the output. And the braces dont convert to [ ] also.I am getting wrong output.What could be the reason. This eclipse version is the latest one eclipse java 2023. What could be the possible reason?Regards,Swati.
Madam/sir,In introduction to arrays class you directly used System.out.println(a); to print an array say a[ ]. But in 2nd lecture of Arrays i.e Operations on array you used a variable of data type String and then stored the converted form of array to string to that String variable say mStr as you have shown. Why you did so? Can't the loop method as you have shown in lecture 1 of "Introduction to Arrays" be implemented.Also how can we do two dimensional operations of arrays say a matrix operation. Is it same as a nested loop operation as used in C++ and C languages for 2D arrays.Also can I give the exam of Java and get certified by IIT Bombay. I don't know how to register for that because in Swayam NPTEL portal it's shown that the course is of 2020. Please clear this also and what will be the exam fees?
17534 visits
Outline: Array opearations - import java.util.Arrays - use methods from class Arrays - toString() method - sort() method - fill() method - copyOf() method - copyOfRange() method - about parameters for each method.
Array opearations - import java.util.Arrays - use methods from class Arrays - toString() method - sort() method - fill() method - copyOf() method - copyOfRange() method - about parameters for each method.
Show video info
Pre-requisite