Question Bank Chapter 02 (ajp)

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Question Bank Chapter 02 (ajp) as PDF for free.

More details

  • Words: 173
  • Pages: 1
Question Bank

: Advanced Java Programming (9165)

Class

: TYIF / TYCM / TYCO (IF/VI/C)

Chapter No. 02

Networking in Java

Review Questions: 4 Marks Questions 1) 2) 3) 4) 5) 6) 7) 8) 9)

What is proxy server? Explain. Describe DatagramPacket class. Differentiate between TCP and UDP. Describe the internet addressing and the domain naming system. What is InetAddress? Explain the factory methods of InetAddress. Which are the instance methods of InetAddress class? Describe the meaning of each of them. How to create TCP/IP client sockets? Explain with appropriate example. Describe the use of URL class by explaining all of its constructors. Give the use of following methods of URL class with suitable example.

a. getProtocol( ) b. getPort( ) c. getHost( ) d. getFile( ) 10) What is the purpose of using URLConnection class? Illustrate with suitable example. 11) How to create TCP/IP server sockets? What are the advantages of using it? 12) Describe the process of creating datagram server and clients.

Question Bank: Advanced Java Programming (9165), Chapter 02

-1-

Related Documents