Issue
What does the super method do?
public DataFetch(Context context) {
super();
this.ctx = context;
}
Does this constructor make the context of the newly created object the context of the super class? Not 100% sure how this works. So would the super()
method essentially just be saying "put me into super class mode" to say it in lay man's terms?
Solution
It says "initialize my parent class before you initialize me" by calling its default constructor.
Answered By - duffymo Answer Checked By - Willingham (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.