adplus-dvertising
frame-decoration

Question

Which class provides system independent server side implementation?

a.

Socket

b.

ServerSocket

c.

Server

d.

ServerReader

Posted under Java Programming

Answer: (b).ServerSocket

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which class provides system independent server side implementation?

Similar Questions

Discover Related MCQs

Q. What happens if ServerSocket is not able to listen on the specified port?

Q. What does bind() method of ServerSocket offer?

Q. Which of the below are common network protocols?

Q. Which class represents an Internet Protocol address?

Q. What does local IP address start with?

Q. What happens if IP Address of host cannot be determined?

Q. What is the java method for ping?

Q. How constructor can be used for a servlet?

Q. Can servlet class declare constructor with ServletConfig object as an argument?

Q. What is the difference between servlets and applets?

i.Servlets execute on Server; Applets execute on browser

ii.Servlets have no GUI; Applet has GUI

iii.Servlets creates static web pages; Applets creates dynamic web pages

iv.Servlets can handle only a single request; Applet can handle multiple requests

Q. Which of the following code is used to get an attribute in a HTTP Session object in servlets?

Q. Which method is used to get three-letter abbreviation for locale’s country in servlets?

Q. Which of the following code retrieves the body of the request as binary data?

Q. When destroy() method of a filter is called?

Q. Which of the following is true about servlets?

Q. How is the dynamic interception of requests and responses to transform the information done?

Q. Which are the session tracking techniques?

i. URL rewriting

ii. Using session object

iii.Using response object

iv. Using hidden fields

v. Using cookies

vi. Using servlet object

Q. Which of the following is used for session migration?

Q. Which of the below is not a session tracking method?

Q. Which of the following is stored at client side?