Question
a.
The system exit with no message
b.
UnknownHostException is thrown
c.
IOException is thrown
d.
Temporary IP Address is assigned
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What happens if IP Address of host cannot be determined?
Similar Questions
Discover Related MCQs
Q. What is the java method for ping?
View solution
Q. How constructor can be used for a servlet?
View solution
Q. Can servlet class declare constructor with ServletConfig object as an argument?
View solution
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
View solution
Q. Which of the following code is used to get an attribute in a HTTP Session object in servlets?
View solution
Q. Which method is used to get three-letter abbreviation for locale’s country in servlets?
View solution
Q. Which of the following code retrieves the body of the request as binary data?
View solution
Q. When destroy() method of a filter is called?
View solution
Q. Which of the following is true about servlets?
View solution
Q. How is the dynamic interception of requests and responses to transform the information done?
View solution
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
View solution
Q. Which of the following is used for session migration?
View solution
Q. Which of the below is not a session tracking method?
View solution
Q. Which of the following is stored at client side?
View solution
Q. Which of the following leads to high network traffic?
View solution
Q. Which of the following is not true about session?
View solution
Q. SessionIDs are stored in cookies.
View solution
Q. What is the maximum size of cookie?
View solution
Q. How can we invalidate a session?
View solution
Q. Which method creates unique fields in the HTML which are not shown to the user?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!