Why Java ? Do I need to know Java before starting Android Development

Congratulations if you know Java !!

If not I will recommend that you learn Java basics before learning App development using Android.

Why

I will explain the reasons for the same but in short – you will be coding in Java to create Android Apps.

Reasons

You might be aware that Android framework uses Java as the Programming language.

Chances are that you might be familiar with Java, at least heard about it.

Java is one of the most popular programming language available.
One of the primary reason for its popularity is its platform independence, thanks to the Java Virtual Machine which also makes it very secure.

It is based on Object Oriented Programming. Understanding OOP’s basics is important.

To code effectively for Android having a good understanding of Java basics is quite important. You will deal with Classes, Interfaces, Inner Classes, Lists, Threads and more.

Essentials

Following Java concepts are used extensively in Android development so learning these will provide you a good foundation.

  • Classes and objects – You should be able to create a Class.
  • Inheritance, Encapsulation, Overriding and Overloading
  • Interfaces and Abstract Classes
  • Primitive Variables and Methods
  • Equals, Hash Code and Serialization
  • Collections API – How to use a List. You will be using ArrayList quite often.
  • Threads – How threading works. Implementing Runnable interface.
  • Date API
  • String and StringBuilder
  • Managing Exceptions – Try Catch and Finally
  • Static variables and methods. Also learn the use of final modifier and how Enums work.

Knowing this will help you get started. Not to mention – practice writing Java programs. Use an editor so that you know where you are making mistakes.

Books and Tutorials

Here are a few useful resources to learn these concepts.

1. Head First Java
2. Official Documentation

Tips

  • Code often. When you learn something try to code and test.
  • Try using a text editor to code.
  • Try to solve problems.
  • Keep learning. Being a competent Java programmer will open many avenues for you, Android being one.

Knowing Java will make things easier for you and give you a strong foundation. So consider learning Java before starting with Android.

Author: androidsmartly

I am a Tech Enthusiast who likes to work on new Ideas. Sharing knowledge on Android, Marketing, Startups and More.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s