Intent intent=new Intent(this,Game.class);
intent.putExtra("razmer", level);
startActivity(intent);
method startActivity() call constuctor class.This method creat object this class?send me more detail about this method please
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
yeah dude the method startActivity() is used for launching another activity whichever class you call in the intent.Understand but it wont call the constructor class.And moreover the Activity Manager will instantiates an activity object.