ExamVeda
Login
Home
81
Which of these class extend InputStream class?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
82
Serializaed object can be transferred via network.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
83
Which of these is a process of extracting/removing the state of an object from a stream?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
84
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.getContentType());
    }
}

Note: Host URL is written in html and simple text.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
85
Which of these class is used to encapsulate IP address and DNS?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
86
What does URL stands for?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
87
Which of these data member of HttpResponse class is used to store the response from an http server?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
88
Which of these method of httpd class is used to get report on each hit to HTTP server?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
89
What will be the output of the following Java program?
import java.net.*;
class networking
{
    public static void main(String[] args) throws MalformedURLException
    {
        URL obj = new URL("https://www.example.com/javamcq");
        System.out.print(obj.toExternalForm());
    }
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
90
Which of these is a protocol for breaking and sending packets to an address across a network?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board