Instance method are methods which require an object of its class to be created before it can be called . To invoke a instance method, we have to create an Object of the class in which the method is defined.
Instance method are methods which require an object of its class to be created before it can be called . To invoke a instance method, we have to create an Object of the class in which the method is defined.