Menu
Question Index
...

What will be the output of the following program?

public class Backspace
{
    public static void main(String ats[])
    {
        int value = (int) Math.random();
        System.out.println("Value: " + value);
    }
}


Value: 0
Value: 1
Some other output
Compilation Error
Runtime Error

Doubts

Problems

Topic: Java Collections - Utility Classes In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App