Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Toast.makeText(MainActivity.this,"Hi GitHub",Toast.LENGTH_LONG).show();
addition();
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to call

}

public void addition(){
Toast.makeText(MainActivity.this,"Hi Minus Method",Toast.LENGTH_LONG).show();
String hi="Say Good Morning";
boolean res=true;
if(res){
hi="Nice work buddy";
res=false;
}
}
}