Question: 2. (20 pts): Create a Java application with the following specifications NetworkInterfaceCardclass: Private instance variables name: String subnet mask bits: Integer(use 8, 16, and 24)



2. (20 pts): Create a Java application with the following specifications NetworkInterfaceCardclass: Private instance variables name: String subnet mask bits: Integer(use 8, 16, and 24) NetworklnterfaceCard(): set name, IP address, and subnet mask bits -IP address: String (in octetformat) Publicmethods/constructors getName(), getIPAddress), getMaskBits() Node class: Private instance variables
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
