The Java you need to start learning Android

The scary java that chases people from learning android, often overemphasizes I can remember vividly when people are telling me they can’t learn android because they have to become an expert in java before they can learn android.

To the best of my knowledge, that thinking is the wrong android is more of its framework than being a java expert, Although java knowledge is required before you grasp the knowledge of android.

I will be sharing the java concept you need to know before you can start learning android, with explanation and links for further read-up.

1- DataType
Meaning:
 This is the classification of item and amount of value that can be stored in memory location or identifier.

Usage: int variableName = value
In the above code, we declare a variable called variableName of datatype int and set the initial value to be valued.

It is important to note that there is two types of datatype which are Primitive and Non-Primitive datatype, the main difference to take note is that one reference memory location and the other one reference value.

Learn MoreWhat is meant by a primitive data type?It kind of depends on the language. For example, in languages like C and C++, you have a number of built-in scalar…softwareengineering.stackexchange.com

2- Java Operators
Meaning: 
This is special symbols performing difference action on one or more operators to bring out difference result.

Usage: boolean result = a ==b; we are comparing the value of variable a and b and saving the result in result which is of type boolean. Java operators are sometimes grouped into arithmetic operators, logical operators …

Learn MoreJava Basic OperatorsJava Basic Operators – Learn Java in simple and easy steps starting from basic to advanced concepts with examples…www.tutorialspoint.com

3- Data Structure
Meaning: 
This is efficient ways of organizing data for the computer to be able to manage the data efficiently.

Usage: There are many data structure in java depending on the data you are dealing with, Array, String, List, Multimap…

Learn More List of data structures – WikipediaThis is a list of data structures. For a wider list of terms, see list of terms relating to algorithms and data…en.wikipedia.org

4- Expressions (Valid and Invalid Expressions)
Meaning: 
This is the order of code execution in a program, this is the building block of every programming languages and it varies from one language to another.

Usage: Java program will execute based on a method call and arithmetical expression will be executed from right to left and PEMDAS rule

Learn MoreWhat Are Java Programming Expressions?Expressions are essential building blocks of any Java program, usually created to produce a new value, although…www.thoughtco.com

5- Program Controls and Condition
Meaning: 
Conditional statement in programming are ways of making decision programming based on the available information/data, Controls can be a way to manage a small or large amount of data.

Usage: if… else, if… else if… and else statement is used to condition program flow of execution based on data of event that occur, similar to switch and case which can be used interchangeably but has recommended use cases.

While conditional statement control program execution, program control manage a list of data to be controlled, this can be done in java with the use of for… loop, do… while …

Learn More

6- Object-Oriented Programming (OOP)
Meaning: (English)
 Object-oriented programming (OOP) is a software programming model constructed around objects. This model compartmentalizes data into objects (data fields) and describes object contents and behavior through the declaration of classes (methods)

Usage: OOP is the building block android programming data structure, understanding each OOP concept is essential from Java class, class constructor, data class (object), methods, the scope of the variable, inheritance (extending class), abstraction (class method)and polymorphism.

Android Applications deals with a lot of classes and object, if any of the above-mentioned concepts are not clear, you are not likely to get an android way of programming.

When you fully understand those concepts, make sure you review them again, however, many programming concepts are best learned in the application, as you start learning android with what you know in java, some concept will become clearer.

Learn MoreWhat is Object-Oriented Programming (OOP)? – Definition from TechopediaObject-Oriented Programming OOP Definition – Object-oriented programming (OOP) is a software programming model…www.techopedia.comWhat is object-oriented programming (OOP)? – Definition from WhatIs.comObject-oriented programming (OOP) is a programming language model organized around objects rather than “actions” and…searchmicroservices.techtarget.comObject-oriented programming – WikipediaEdit descriptionen.wikipedia.org

7- Exception Handling
Meaning: 
Just as the name implies, catching expected or unexpected action to prevent an unexpected result

Usage: This achieves with the use of try… catch and finally block, try event or line of code that will produce exception/error will be placed inside try block and the exception will be caught inside the catch block and finally will always get executed no matter what happens generally finally will be used to clean up memory or release resources when the program failed to run.

Learn MoreJava Fundamentals Tutorial: ExceptionsProTech provides technical training including Microsoft, Linux, Java, Oracle, IBM, Project Management, VMWare, Perl…www.protechtraining.com

The full list can be accessed below

Finally

These are based on my experience in developing android applications, I try to keep the list as simple as possible however you can let me know what you think or add to the list in the comment section.

Access free Java Programming Course

Java Programming Basics | UdacityTake your first steps towards becoming a Java developer! Learn Java syntax and create conditional statements, loops…www.udacity.com

https://www.ibm.com/developerworks/learn/java/intro-to-java-course/index.html

I’m on twitter @sodiqOladeni
Associate Android Developer

About the author

Sodiq Ogunyeiwa

Add comment

By Sodiq Ogunyeiwa

Recent Posts

Archives