← Computer Networks 🟡 Medium 📋 Sanfoundry

Which constructor of Datagram Socket class is used to create a datagram socket and binds it with the…

Question #2312 of 998+ in Computer Networks

📝 Question #2312

Which constructor of Datagram Socket class is used to create a datagram socket and binds it with the given Port Number?

⌨️ Press A B C D to select

All Options & Correct Answer

A Datagram Socket(int port)
B Datagram Socket(int port, Int Address address) Correct
C Datagram Socket()
D Datagram Socket(int address)

📋 Question Details

📚
Subject
Computer Networks
🎯
Difficulty
Medium
📅
Year
📋
Source
Sanfoundry

📤 Share This MCQ

📚 Want More?

Practice Computer Networks MCQs

998+ questions with detailed answers