What is/are the correct statement/s about the following code segment?Button button;@Overrideprotected void onResume() {super.onResume():button.setOnClickListener(new View.OnClickListener() {@Overridepublic void onClick(View view) {Intent nav = new Intent(MainActivity.this, MessageActivity.class); startActivity(nav);Select one or more:a. When executing this code, the user navigates to an activity called MainActivity.b. This code allows application activity to request functionality from other android activity.c. Once the user clicks the button, the activity manager is responsible to destroy the previous activity.d. This nav object is an object that provides runtime binding between separate activities.e. By using the button, the user can access both MainActivity and MessageActivity.