Java Queue

Goal By this program assignment, the students will experience the way of constructing a data structure by using a well designed Java class. Requirements Design a Java class, named QueueDS, implementing the java.util.Queue interface in J2SE by using the java.util.Vector class in J2SE.1. Design a Java class,... show more Goal

By this program assignment, the students will experience the way of constructing a data structure by using a well designed Java class.


Requirements


Design a Java class, named QueueDS, implementing the java.util.Queue interface in J2SE by using the java.util.Vector class in J2SE.1. Design a Java class, named QueueDS, implementing the java.util.Queue interface in J2SE by using the java.util.Vector class in J2SE.
Update: 大大的add 和 element的回傳質不符服,能請教大大問題嗎??


感恩!!!
Update 2: 小弟是在空格後才出現
error: unreachable statement標示的


請大大詳解 感恩~~~
1 answer 1