Class FinalQuestion


public class FinalQuestion extends NullQuestion
A special type of question used to indicate the last of the questions of an interview.
  • Constructor Details

    • FinalQuestion

      public FinalQuestion(Interview interview)
      Create an anonymous question that can be used to mark the end of a series of questions.
      Parameters:
      interview - The interview containing this question.
    • FinalQuestion

      public FinalQuestion(Interview interview, String tag)
      Create a question that can be used to mark the end of a series of questions.
      Parameters:
      interview - The interview containing this question.
      tag - A unique tag to identify this specific question.
  • Method Details

    • getNext

      protected final Question getNext()
      Get the next question in the series. Since this question is used to mark the end of a series, there is no next question and the result is always null.
      Specified by:
      getNext in class Question
      Returns:
      null