|
1 System.out.println (new Test (123)); In the new test (123) you are printing a class, it will call the "default" toString method, if you want to print the desired result, you need to override toString method.
2 int [] j = new int [3]; indicates that an int array j with 3 elements is defined
Ha ha, I have n’t looked at these basics for a long time, I may have forgotten it, so I understand it |
|