Java Socket Programming Questions and Answers With PDF
1. Which of these interface abstractes the output of messages from httpd?
Loading...
2. Which of these class is used to create servers that listen for either local or remote client programs?
Loading...
3. Which of these is a standard for communicating multimedia content over email?
Loading...
4. Which of these methods is used to make raw MIME formatted string?
Loading...
5. Which of these class is used for operating on request from the client to the server?
Loading...
6. Which of these method of MimeHeader is used to return the string equivalent of the values stores on MimeHeader?
Loading...
7. What is the output of this program?
import java.net.*;
class networking {
public static void main(String[] args) throws Exception {
URL obj = new URL("http://www.sanfoundry.com/javamcq");
URLConnection obj1 = obj.openConnection();
System.out.print(obj1.getContentType());
}
}
Loading...
8. Which of these is an instance variable of class httpd?
Loading...
9. Which of these is an instance variable of httpd that is a Hashtable?
Loading...
10. What is the output of this program?
import java.net.*;
class networking {
public static void main(String[] args) throws MalformedURLException {
URL obj = new URL("http://www.eduzip.com/javamcq");
System.out.print(obj.toExternalForm());
}
}
Loading...
Are these questions helpful for you?
Related Quizzes
- Introduction To Java
- Java Network Programming
- Java File Input Output
- Java Socket Programming
- Java Data Types
- Java Operators
- Java Strings
- Java Arrays
- Java Package And Interface
- java.lang Package
- Java Swings
- Java Applets
- Java Exception Handling
- JSP And Servlet
- Struts And Hibernate
- Java Session
- JDBC
- Java Classes And Methods
- Java Generics
- Java Multithreading
Comments: (Your feedback is valuable to us)