Duration
3 days
Overview
Java is the primary programming language you use when writing software for Android and can be intimidating to learn. This course makes it easy by stepping you through all of the important Java concepts and getting you started quickly via extensive examples of its use. You’ll learn how to create your own classes describing custom objects and see how to work with some of the framework classes provided by the Android SDK at the end of the course.
Day 1
Introduction to Java
- About Java
- The JVM
- Eclipse
- Android Studio
- Packages
- Java Class Library
Variables and Operators
- What is a variable?
- What is a type?
- Using Variables
- Primitive Types
- Using Operators
- Strings
- Arrays
Classes
- Members
- Creating a Class
- Methods
- Constructors
- Access modifiers
Day2
Control Statements
- If / Else
- Switch
- For
- While
- Break
Inheritance and Composition
- Basic Inheritance
- Basic Composition
- Polymorphism
- Interfaces
Generics
- Class Generics
- Method Generics
- Bounded Types
- Wildcards
Exceptions
- Try and Catch
- Finally
- Check and Unchecked
- Best Practices
Day 3
Collections
- List
- Map
- Set
- Queue
Enumerations
- Using Enumeration
- Iterating
IO
- Reading a File
- Writing a File
- File Manipulation
- Implementing a Stream
Threading
- Creating a Thread
- Synchronization Issues
Programme scope, delivery arrangements and suitability are confirmed during enquiry.