Java Defensive Techniques

Android    |    Intermediate
  • 18 videos | 59m 34s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 59 users Rating 4.6 of 59 users (59)
Defensive Programming in Android helps you create reliable and resilient apps. Learn techniques specific to Java that promote defensive programming when creating Android apps.

WHAT YOU WILL LEARN

  • Initialize instances of classes safely
    Check for the presence of null to avoid errors
    Design setters to avoid potential errors
    Recognize how to compare two objects in java avoiding potential errors
    Work safely with the java switch and case statements
    Use atomic and nonatomic operations in threaded applications
    Use final properties to minimize potential for errors
    Recognize when to use mutable and immutable classes
    Implement a basic enum in java
  • Use enums to reduce the possibility of unexpected input
    Implement an enum with a constructor and recognize the rules for enum constructors
    Implement an interface in an enum
    Create an enum with abstract methods
    Use packages and classes to implement proper encapsulation
    Import packages in java android apps
    Use different scopes to implement defensive programming
    Create apks to run on android devices
    Create jars for exporting java code between apps

IN THIS COURSE

  • 2m 59s
    During this video, you will learn how to initialize instances of classes safely. FREE ACCESS
  • 3m 32s
    In this video, you will check for the presence of null values to avoid errors. FREE ACCESS
  • Locked
    3.  Using Setters
    3m 13s
    In this video, learn how to design setters to avoid potential errors. FREE ACCESS
  • Locked
    4.  Comparing Objects
    3m 7s
    Upon completion of this video, you will be able to compare two objects in Java without making any mistakes. FREE ACCESS
  • Locked
    5.  Switch and Case Statements
    3m 44s
    During this video, you will learn how to work safely with Java switch and case statements. FREE ACCESS
  • Locked
    6.  Atomic and Nonatomic
    3m 17s
    During this video, you will learn how to use atomic and nonatomic operations in threaded applications. FREE ACCESS
  • Locked
    7.  The final Keyword
    3m 27s
    In this video, you will learn how to use final properties to minimize potential errors. FREE ACCESS
  • Locked
    8.  Mutable and Immutable Classes
    3m 30s
    Upon completion of this video, you will be able to recognize when to use mutable and immutable objects. FREE ACCESS
  • Locked
    9.  Using Basic Enums
    3m 4s
    Learn how to implement a basic enum in Java. FREE ACCESS
  • Locked
    10.  Using Enums for Defensive Programming
    3m 9s
    In this video, you will use enums to reduce the possibility of unexpected input. FREE ACCESS
  • Locked
    11.  Enum Constructors
    3m 38s
    Find out how to implement an enum with a constructor and recognize the rules for enum constructors. FREE ACCESS
  • Locked
    12.  Enums and Interfaces
    3m 26s
    During this video, you will learn how to implement an interface in an enum. FREE ACCESS
  • Locked
    13.  Enums and Abstract Methods
    3m 22s
    To create an enum with abstract methods, you must first create an abstract class that contains the enum, and then create a subclass that implements the enum. FREE ACCESS
  • Locked
    14.  Using Packages and Classes
    2m 55s
    Find out how to use packages and classes to implement proper encapsulation. FREE ACCESS
  • Locked
    15.  Importing Packages
    3m 36s
    In this video, you will learn how to import packages in Java Android apps. FREE ACCESS
  • Locked
    16.  Package Scopes
    3m 20s
    Learn how to use different scopes to implement defensive programming. FREE ACCESS
  • Locked
    17.  Creating APKs
    3m
    In this video, you will learn how to create APKs to run on Android devices. FREE ACCESS
  • Locked
    18.  Creating Jars
    3m 17s
    To find out how to create jars for exporting Java code between apps, consult a Java tutorial or reference guide. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.5 of 526 users Rating 4.5 of 526 users (526)
Rating 4.6 of 25 users Rating 4.6 of 25 users (25)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 25 users Rating 4.4 of 25 users (25)
Rating 4.7 of 68 users Rating 4.7 of 68 users (68)
Rating 4.4 of 392 users Rating 4.4 of 392 users (392)