# Person example main program using getters and setters

from Person import *

oPerson1 = Person('<NAME>', 90000)
oPerson2 = Person('<NAME>', 99000)

# Get the salaries using getter and print
print(oPerson1.getSalary())
print(oPerson2.getSalary())

# Change the salaries using setter
oPerson1.setSalary(100000)
oPerson2.setSalary(111111)

# Get the salaries and print again
print(oPerson1.getSalary())
print(oPerson2.getSalary())

# Person example main program using getters and setters

from Person import *

oPerson1 = Person('<NAME>', 90000)
oPerson2 = Person('<NAME>', 99000)

# Get the salaries using getter and print
print(oPerson1.getSalary())
print(oPerson2.getSalary())

# Change the salaries using setter
oPerson1.setSalary(100000)
oPerson2.setSalary(111111)

# Get the salaries and print again
print(oPerson1.getSalary())
print(oPerson2.getSalary())

# Person example main program using getters and setters # Get the salaries using getter and print # Change the salaries using setter # Get the salaries and print again