00:01
In this video, we are going to create a program that displays a random upper -paced letter using the system.
00:04
Current time milloseconds method.
00:06
This is the method of the system class that returns current time in the format of milliseconds.
00:11
We've already created the class as well as the main method within it and imported java.
00:16
.latingd .system as well as java .u .t.
00:19
Random.
00:20
So we can go ahead into our main method and create a new random object calling it random.
00:29
And the system dot current time, then second method will return along.
00:36
They can be passed to the random object as it's seed.
00:39
So that's what we're going ahead and do there.
00:43
If you want your random sequences to be the same between runs, you can specify a seed.
00:46
But usually we don't want that to happen, so we want to use a different seed for every run, which is why we're using system.
00:54
Current time milliseconds...