Os:windows7 x64
Jdk:jdk-8u131-windows-x64
Ide:eclipse Oxygen Release (4.7.0)
Code Area Show
Based on the existing code, the next thing to look at is the source code of the math and the random ().
View the source code for the math class
Hold down CTRL, mouse over, left-click
Effect Show
View the source code of the random function
Hold down CTRL, mouse over, left-click
Effect
Using the shortcut key F3 to view the source code, you need to first click the class or function you want to view, let the cursor in between, and then press F3. The position of the cursor is key. Both ways are possible, to the most bitter like with crl+ left mouse button Click to view the source code.
Java is good, worth learning.
Eclipse is a free, powerful IDE that you should learn to use.
Eclipse4.7 Use the base shortcut key F3 or CTRL + Left to view the source code of the class or function