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 in

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

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.