Issuing With Calling Methods In Inherited Class
This 'Code A' is the code of my base class and i am extending this class to another class 'Code B'. The problem is when i run my app my application has stopped. Is there any proble
Solution 1:
You are recursivly creating a lot of instances.
Your problem is this line PrepaidBase pb = new PrepaidBase(); , which is inside PrepaidBase activity.
Meaning every time an instance of PrepaidBase is created, it creates another instance of itself, until you reach the memory limit, and GC kicks in.
Post a Comment for "Issuing With Calling Methods In Inherited Class"