Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Navin Gada   on May 06 In Java Category.

  
Question Answered By: Antonio Dunn   on May 06

Please remove the Linked List in teh constructor.

_public Elevator()
_{
__LinkedList upList = new LinkedList();

_}

In the constructor instead of
__LinkedList upList = new LinkedList();

use
upList = new LinkedList();

Share: