Posted by : Unknown Thursday 18 June 2015


class time 
{
    public static void main(String[] args) 
    {
        System.out.print("Here is a random number:  ");
        System.out.println( Math.random() );
    }
}

Output:

Here is a random number:  0.3146003207571283

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Translate

Popular Post

Total Pageviews

Blog Archive

- Copyright © Learning Java Program - Powered by Blogger -