Which of these is a return type of getAddress() method of DatagramPacket class?
(a) DatagramPacket
(b) DatagramSocket
(c) InetAddress
(d) ServerSocket
I had been asked this question in an interview for internship.
I'd like to ask this question from Networking in division Serialization & Networking of Java