For both, you need to Override run() method to be created as a new thread by start() call. implements Runnable (preferred way) it shares the same ...
Posts tagged Self Study
Types of Casting & instanceof
You must understand, that by casting you are not actually changing the object itself, you are just labeling it differently. Object of child class ...
Types of variables
Local variables are declared in methods, constructors, or blocks. Local variables are visible only within the declared method, constructor or ...
public vs. protected vs. private
public: A class, method, constructor, interface etc declared public can be accessed from any other class. protected: Variables, methods and ...
Enumeration vs. Iterator
Don’t be confused between Enum and Enumeration, totally different. With both, you can enumerate(iterate) the elements in a collection of ...
app-debug-unaligned.apk vs. app-debug.apk
When you are trying to make apk file with your code on Android Studio, you will notice that there are two files generated in directory. unaligned ...
HttpURLConnection vs. HttpsURLConnection
A URLConnection with support for HTTP-specific features It can cover Https addresses also, because HttpsURLConnection extends this. ...
Break & Continue
Totally exit from loop(for,while,do~while) or from switch. Example… Output… exit only current turn from loop(for,while,do~while), ...
Multidex for 64K limit problem
Android app originally designed with limit of 64K methods. As app became bigger, android developer supported multidex for this problem. So to use ...
Git Basic
Git is a version control system that is used for software development and other version control tasks. A repository to backup files and to update ...