Tathagat Joshi35 Points
You have your code everything (onclick, namefield etc) inside onCreate method. Can we put outside onCreate and why?
You have your code be it (onclick method, namefield etc) everything inside onCreate method. Can we put this code outside onCreate and why? And what are advantages and disadvantage of placing it outside or inside onCreate method?