[Solved]Write Constructor Class Orderedlist Contains Following 4 Atributes N Length List Step Inde Q37068875

Write the constructor of the class OrderedList that contains the following 4 atributes: n the length of the list, step and index (two private instance variable initialized at 0), and items that represents a list of n items initialized with integer numbers going from 1 to n. Write also the two get methods get_index and get_step Show transcribed image text Write the constructor of the class OrderedList that contains the following 4 atributes: n the length of the list, step and index (two private instance variable initialized at 0), and items that represents a list of n items initialized with integer numbers going from 1 to n. Write also the two get methods get_index and get_step
Expert Answer
Answer to Write the constructor of the class OrderedList that contains the following 4 atributes: n the length of the list, step a… . . .
OR

