In this lesson we are going to understand what happens, if there are a few variables with the same name. And what does it mean that some variables or methods are public and others private? We would also learn how to easily add so called getters and setters. Read More
You should be already aware what is an object and why we use classes, methods and variables (and how to add a new class to your project). Otherwise read previous lesson. To more comfortable jump into Adroid Java developing we need a bit more information about them. Let’s start with class inheritance and class constructors).
As we have already learnt from previous lessons Android apps are written in Java – one of many programming languages (for instance apps for Apple iOS are written in Objective C). We will try to understand some basic concepts of Java.