Podcast
Questions and Answers
What is the purpose of the Socket
class in Java?
What is the purpose of the Socket
class in Java?
What is the purpose of the ServerSocket
class in Java?
What is the purpose of the ServerSocket
class in Java?
Which method of the Socket
class allows you to specify a new connection?
Which method of the Socket
class allows you to specify a new connection?
What is the purpose of the accept()
method in the ServerSocket
class?
What is the purpose of the accept()
method in the ServerSocket
class?
Signup and view all the answers
Which method of the Socket
class returns true if the socket is connected to a server?
Which method of the Socket
class returns true if the socket is connected to a server?
Signup and view all the answers
What is the purpose of the close()
method in the Socket
class?
What is the purpose of the close()
method in the Socket
class?
Signup and view all the answers
What does a URL uniquely identify or address on the Internet?
What does a URL uniquely identify or address on the Internet?
Signup and view all the answers
Which constructor for URL throws MalformedURLException?
Which constructor for URL throws MalformedURLException?
Signup and view all the answers
What method is used to create a URLConnection object from a URL?
What method is used to create a URLConnection object from a URL?
Signup and view all the answers
What does a URLConnection object allow you to do with a remote resource?
What does a URLConnection object allow you to do with a remote resource?
Signup and view all the answers
Which class provides a simple API to access information across the Internet using URLs?
Which class provides a simple API to access information across the Internet using URLs?
Signup and view all the answers
What kind of attributes are exposed by the URLConnection class?
What kind of attributes are exposed by the URLConnection class?
Signup and view all the answers