Android – Logcat Activity Showing in Android Studio

Some change in HelloWorld project in Android Studio in MainActivity.java
code:

Reference:
http://www.javatpoint.com/android-life-cycle-of-activity
http://www.tutorialspoint.com/android/android_acitivities.htm