ExamVeda
Login
Home
91
What will be the output of the following Java program?
class Output
{
    public static void main(String args[])
    {
        int a = Character.MIN_VALUE;
        System.out.print((char)a);
    }
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
92
Which of these class can encapsulate an entire executing program?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
93
What will be the output of the following Java program?
import java.lang.System;
class Output
{
     public static void main(String args[])
     {
         long start, end;   
         start = System.currentTimeMillis();
         for (int i = 0; i < 10000000; i++);
         end = System.currentTimeMillis();
         System.out.print(end - start);
     }
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
94
Which class is used to generate random number?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
95
Which of these class can be used to implement the input stream that uses a character array as the source?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
96
Which of these is a process of converting a simple data type into a class?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
97
What will be the output of the following Java program?
class Output 
{
    public static void main(String args[]) 
    {
        double x = 3.14;  
        int y = (int) Math.toDegrees(x);
        System.out.print(y);
    }
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
98
Which of these method(s) is/are used for writing bytes to an outputstream?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
99
Which of these exceptions will be thrown if we use null reference for an arithmetic operation?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
100
Which of these is a super class of wrappers Long, Character & Integer?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board