Defensive Programming Methods

Android    |    Intermediate
  • 15 videos | 54m 12s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 74 users Rating 4.6 of 74 users (74)
You should always use defensive programming practices and techniques when creating Android apps. Learn to think defensively when creating methods, and working with constants, conditional statements and structures.

WHAT YOU WILL LEARN

  • Recognize best practice in writing methods for android apps in java
    Use best practices to name methods in java for android
    Use best practices to name getter methods in java for android
    Use best practices to name callback methods in java for android
    Reduce method complexity in android apps using java
    Use java overloaded methods to reduce complexity in java for android
    Recognize how constants can be used in defensive programming
    Create and use constants in java for android
  • Use best practices for naming constants in java for android
    Create and use resource files in an android app
    Recognize how to write if statements defensively to protect against potential bugs
    Design while loops that are not vulnerable to running forever
    Design for loops that are not vulnerable to running forever
    Identify and avoid bugs caused by altered loop variables
    Use defensive practices to code in java

IN THIS COURSE

  • 4m 42s
    Upon completion of this video, you will be able to recognize best practices in writing methods for Android apps in Java. FREE ACCESS
  • 2m 55s
    In this video, learn how to use best practices to name methods in Java for Android. FREE ACCESS
  • Locked
    3.  Naming Getter Methods
    2m 55s
    During this video, you will learn how to use best practices to name getter methods in Java for Android. FREE ACCESS
  • Locked
    4.  Naming Callback Methods
    3m 12s
    Find out how to use best practices to name callback methods in Java for Android. FREE ACCESS
  • Locked
    5.  Simplifying App Code Using Method Naming
    3m 30s
    In this video, you will learn how to reduce method complexity in Android apps using Java. FREE ACCESS
  • Locked
    6.  Overloading Methods
    3m 45s
    Find out how to use overloaded Java methods to reduce complexity in Java for Android. FREE ACCESS
  • Locked
    7.  Taking Advantage of Constants
    4m 11s
    Upon completion of this video, you will be able to recognize how constants can be used in defensive programming. FREE ACCESS
  • Locked
    8.  Constants in Java
    3m 8s
    Learn how to create and use constants in Java for Android development. FREE ACCESS
  • Locked
    9.  Naming Constants
    3m 34s
    In this video, find out how to use best practices for naming constants in Java for Android. FREE ACCESS
  • Locked
    10.  Resource Files
    3m 34s
    In this video, you will learn how to create and use resource files in an Android app. FREE ACCESS
  • Locked
    11.  If Statements
    3m 32s
    After completing this video, you will be able to recognize how to write if statements to protect against potential bugs. FREE ACCESS
  • Locked
    12.  While Loops
    3m 32s
    Learn how to design while loops that will not run forever. FREE ACCESS
  • Locked
    13.  For Loops
    3m 46s
    During this video, you will learn how to design for loops that are not vulnerable to running forever. FREE ACCESS
  • Locked
    14.  Altered Loop Variables
    3m 38s
    In this video, find out how to identify and avoid bugs caused by changing loop variables. FREE ACCESS
  • Locked
    15.  Exercise: Code Defensively in Java
    4m 19s
    In this video, you will learn how to use defensive practices when coding in Java. 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

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 95 users Rating 4.6 of 95 users (95)
Rating 4.7 of 44 users Rating 4.7 of 44 users (44)
Rating 4.1 of 7 users Rating 4.1 of 7 users (7)