
'''
Copyright (c) 2016 anti-XSS developers
'''

class CountPage(object):

    __number = 0

    def __init__(self, number=0):
        self.__number = number

    def setNumber(self, number):
        self.__number = number

    def getNumber(self):
        return self.__number

    def incNumber(self):
        self.__number += 1


'''
Copyright (c) 2016 anti-XSS developers
'''

class CountPage(object):

    number = 0

    def __init__(self, number=0):
        self.number = number

    def setNumber(self, number):
        self.number = number

    def getNumber(self):
        return self.number

    def incNumber(self):
        self.number += 1

Modify CountPage to a public class
Modify CountPage to a public class

  
  '''
  Copyright (c) 2016 anti-XSS developers
  '''
  
  class CountPage(object):
  
-     __number = 0
+     number = 0
  
      def __init__(self, number=0):
-         self.__number = number
+         self.number = number
  
      def setNumber(self, number):
-         self.__number = number
+         self.number = number
  
      def getNumber(self):
-         return self.__number
+         return self.number
  
      def incNumber(self):
-         self.__number += 1
+         self.number += 1
  
Modify CountPage to a public class
## Code Before:

'''
Copyright (c) 2016 anti-XSS developers
'''

class CountPage(object):

    __number = 0

    def __init__(self, number=0):
        self.__number = number

    def setNumber(self, number):
        self.__number = number

    def getNumber(self):
        return self.__number

    def incNumber(self):
        self.__number += 1

## Instruction:
Modify CountPage to a public class
## Code After:

'''
Copyright (c) 2016 anti-XSS developers
'''

class CountPage(object):

    number = 0

    def __init__(self, number=0):
        self.number = number

    def setNumber(self, number):
        self.number = number

    def getNumber(self):
        return self.number

    def incNumber(self):
        self.number += 1
