ExamVeda
Login
Home
1
Which of these is a return type of getAddress() method of DatagramPacket class?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
2
How an object can become serializable?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
3
Which of these is an interface for control over serialization and deserialization?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
4
Which of these methods is used to know when was the URL last modified?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
5
Which of these methods are used to find a URL from the cache of httpd?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
6
Which of these class is necessary to implement datagrams?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
7
What will be the output of the following Java program?
import java.net.*;
class networking 
{
    public static void main(String[] args) throws Exception
    {
        URL obj = new URL("https://www.example.com/javamcq");
        URLConnection obj1 = obj.openConnection();
        System.out.print(obj1.getLastModified);
    }
}

Note: Host URL was last modified on june 18 tuesday 2013.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
8
Which of these is a method of ObjectOutput interface used to finalize the output state so that any buffers are cleared?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
9
Which of these methods is used to know the type of content used in the URL?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
10
Which of these interface abstractes the output of messages from httpd?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board