CodeTutLearn-Blog

How-to articles about iOS 10, Android, Java, C#

Polymorphism in Java

Polymorphism in Java Polymorphism means that an object can take on many forms. The most common use of polymorphism in Java occurs when a Super Class reference is used to refer to a sunclass class object. Any Java object that can pass more than one IS-A test is considered to be polymorphic....

READ MORE

Upcasting and Downcasting in Java

Hi Everyone, In this blog post I want to introduce you to Upcasting and Downcasting in Programming. Up-casting is casting to a supertype, while downcasting is casting to a subtype. Supercasting is always allowed, but subcasting involves a type check and can throw a...

READ MORE

What is Increment, Decrement, Pre Increment or Decrement and Post Increment or Decrement in Java

Hey Android Developers, In this tutorial, I want to talk about an important concept in Java. What is Post Increment Operator? Let me give you an example: int i = 10; i++; Here we created an integer variable and we also initialized this variable and assigned the "10" to this variable. And...

READ MORE

How to Generate a Signed APK for your Android Application.

Hey Android Developers, In order to generate a signed APK for your android application, you need to open your android project and then at the top just click on build and then in the dropdown that is opened just click Generate Signed APK. And then it's going to open a window in which you need to...

READ MORE

How to Access Standalone SDK Manager in Android Studio 2.3

Hey Android Developers, In order to access Standalone SDK Manager in Android studio2.3, follow these steps: Open the Android Studio And then click on configure button at the bottom and then in the dropdown menu just click on SDK Manger. Take a look at this gif here: And then take a look...

READ MORE

How to download multiple Images at the same time in Android using Java

Hi Everyone, In order to download multiple images at the same time you need to use UrlImageViewHelper class. The only case that you may want to download multiple images at the same time is when you have a ListView and you want to download those images from the internet and put the on the items...

READ MORE

Android Studio 2.3 - How to Center TextView in the Layout

Hi Android Developers, In this post I am going to teach you how to Center a TextView in the Layout. First Let's create an Android Project: Open Android Studio Click on "Start a new Android Studio Project" Specify a value for application name, domain name and then you can specify where...

READ MORE