Java Networking and AWT Graphics
Quiz covering Java networking classes (URL, URLEncoder, URLConnection) and AWT graphics methods
Questions
Question 1 Multiple Choice (Single Answer)
Which class is used to create an object from a full web address in networking in Java?
- URLConnection Class
- URL(String)
- URL Class
- InetAddress Class
- DatagramPacket Class
Question 2 Multiple Choice (Single Answer)
Which class takes a string of text and turns it into the MIME format in networking in Java?
- InetAddress Class
- URL Class
- URLEncoder Class
- DatagramPacket Class
- DatagramSocket Class
Question 3 Multiple Choice (Single Answer)
Which class is used to create and control a connection to a platform and firewall specific location in networking in Java?
- URL(String)
- URL Class
- URLConnection Class
- ContentHandler Class
- InetAddress Class
Question 4 Multiple Choice (Single Answer)
Which class is used to examine suspended thread's stack frame by the debugger in networking in Java?
- RemoteStackVariable Class
- RemoteStackFrame Class
- ThreadDeathEvent()
- QuiteEvent()
- InetAddress Class
Question 5 Multiple Choice (Single Answer)
Which method is used for clear the screen and calls the paint() method?
- paint()
- update()
- repaint()
- QuitEvent()
- InetAddress Class