ExamVeda
Login
Home
31
Random is a final class?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
32
Which of these method converts radians to degrees?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
33
What will be the output of the following Java program?
class Output
{
    public static void main(String args[])
    {
  char a = (char) 98;
        a = Character.toUpperCase(a);
        System.out.print(a);
    }
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
34
Which of these type parameters is used for a generic class to return and accept a number?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
35
Which of the following package stores all the simple data types in java?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
36
Which of the following methods is a method of wrapper Integer for obtaining hash code for the invoking object?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
37
Which of these method return a pseudorandom number?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
38
Which of these class have only one field?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
39
What will be the output of the following Java program?
class Output
{
    public static void main(String args[])
    {
        String str = "TRUE";
        boolean x = Boolean.valueOf(str);
        System.out.print(x);
    }
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
40
Which of these methods is used to obtain value of invoking object as a long?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board