employer cover photo
employer logo

Infinera interview question

You are given a network packet containing information like host address, data, reserved bits etc. Using Java, represent this packet in a Java class called Packet. Represent all data as instance variables. Provide methods to retrieve this data.

Interview Answer

Anonymous

12 Dec 2014

Represent data as a byte array. Use bit manipulation techniques to retrieve all data.

3