annoymous classes are basically used where you want your class to do only one kind of job eg. catching the user action (ie. he clicked on some button or change the value of any UI component).
It will help you to maintain the modularity in the code whithin a single file.
It will help you to maintain the modularity in the code whithin a single file.
No comments:
Post a Comment