The document defines a SampleClass with student number and name attributes. It creates 10 SampleClass objects with different student numbers and names, assigning them to variables. The info() method prints the student number and name. In main(), it prints the info of each SampleClass object.
The document defines a SampleClass with student number and name attributes. It creates 10 SampleClass objects with different student numbers and names, assigning them to variables. The info() method prints the student number and name. In main(), it prints the info of each SampleClass object.
The document defines a SampleClass with student number and name attributes. It creates 10 SampleClass objects with different student numbers and names, assigning them to variables. The info() method prints the student number and name. In main(), it prints the info of each SampleClass object.