ExamVeda
Login
Home
21
Which of these class holds a collection of static methods and variables?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
22
What will be the output of the following Java code?
class Output 
{
    public static void main(String args[]) 
    {
        byte a[] = { 65, 66, 67, 68, 69, 70 };
        byte b[] = { 71, 72, 73, 74, 75, 76 };  
        System.arraycopy(a, 1, b, 3, 0);
        System.out.print(new String(a) + " " + new String(b));
    }
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
23
Which of these class can generate pseudorandom numbers?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
24
Which of these method returns a largest whole number less than or equal to variable X?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
25
Which of these methods of a Thread class is used to suspend a thread for a period of time?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
26
Which of these method of Object class can generate duplicate copy of the object on which it is called?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
27
Which of these packages contain classes and interfaces used for input & output operations of a program?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
28
Which of this interface is implemented by Thread class?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
29
Which of these methods return a smallest whole number greater than or equal to variable X?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
30
Which of these class is not a member class of java.io package?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board