Created
February 5, 2017 00:41
-
-
Save igor-brishkoski/36277fe5c4f8d1b23fade9bb69732274 to your computer and use it in GitHub Desktop.
Awesome App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//AwesomeApp | |
class User { | |
String firstName; | |
String lastName; | |
String city; | |
} | |
... | |
public class MainActivity extends AppCompatActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
User g = new User("Gandalf", "The White", "Maia"); | |
Log.d("User", "firstName = "+g.firstName+ " lastname = "+g.lastName+" city = "+g.city); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment