Defensive Java Fundamentals

Java 8    |    Intermediate
  • 16 videos | 1h 39m 48s
  • Earns a Badge
Rating 4.4 of 392 users Rating 4.4 of 392 users (392)
Defensive programming attempts to ensure that software still functions under adverse or unforeseen circumstances. Explore the fundamentals of defensive programming in Java, including using assertions, annotations, and exceptions.

WHAT YOU WILL LEARN

  • Recognize the key features of defensive coding in java
    Use assertions in your java programming code
    Use annotations in java programming code
    Identify issues with conversions to narrower types in java and identify issues with promotions such as long to double
    Identify issues with  floating point values
    Recognize what integer overflow is and how to prevent it
    Identify issues with arithmetic operations in java programs
    Identify issues with forming strings containing partial characters from variable-width encodings
  • Identify issues with encoding non-character data as a string
    Identify issues with using strings to compare locale-dependent data
    Identify how to use null values in creating defendable code
    Demonstrate how to use exceptions appropriately in java to handle errors
    Identify how denial of service attacks can occur
    Identify how to manage resources safely in java
    Identify how to corrrectly terminate java programs
    Use defensive programming techniques in java programs

IN THIS COURSE

  • 7m 28s
    Upon completion of this video, you will be able to recognize the key features of defensive coding in Java. FREE ACCESS
  • 7m 18s
    In this video, you will learn how to use assertions in your Java programming code. FREE ACCESS
  • Locked
    3.  Annotations
    8m 59s
    In this video, you will learn how to use annotations in Java programming code. FREE ACCESS
  • Locked
    4.  Conversions and Promotions
    8m 20s
    In this video, you will learn how to identify issues with conversions to narrower types in Java and identify issues with promotions such as long to double. FREE ACCESS
  • Locked
    5.  Issues with Floating Point Values
    5m 5s
    In this video, you will learn how to identify issues with floating point values. FREE ACCESS
  • Locked
    6.  Integer Overflow Vulnerability
    7m 6s
    After completing this video, you will be able to recognize what integer overflow is and how to prevent it. FREE ACCESS
  • Locked
    7.  Issues with Operations
    7m 32s
    In this video, you will learn how to identify issues with arithmetic operations in Java programs. FREE ACCESS
  • Locked
    8.  Strings and Variable-Width Encodings
    4m
    During this video, you will learn how to identify issues with forming strings containing partial characters from variable-width encodings. FREE ACCESS
  • Locked
    9.  Strings and Non-Character Data
    3m 34s
    In this video, find out how to identify issues with encoding non-character data as a string. FREE ACCESS
  • Locked
    10.  Strings and Locale-Depedent Data
    4m 11s
    During this video, you will learn how to identify issues with using strings to compare data that is dependent on locale. FREE ACCESS
  • Locked
    11.  The Value of null
    6m 46s
    In this video, you will learn how to use null values in creating defendable code. FREE ACCESS
  • Locked
    12.  Utilizing  Exceptions Correctly
    6m 23s
    In this video, you will learn how to use exceptions appropriately in Java to handle errors. FREE ACCESS
  • Locked
    13.  Denial of Service Attacks
    5m
    In this video, you will learn how denial of service attacks can occur. FREE ACCESS
  • Locked
    14.  Releasing Resources
    5m 22s
    In this video, you will learn how to manage resources safely in Java. FREE ACCESS
  • Locked
    15.  Termininating Programs
    4m 34s
    In this video, you will learn how to correctly terminate Java programs. FREE ACCESS
  • Locked
    16.  Exercise: Code Defensively in Java
    8m 9s
    In this video, you will learn how to use defensive programming techniques in Java programs. 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.6 of 36 users Rating 4.6 of 36 users (36)
Rating 4.5 of 356 users Rating 4.5 of 356 users (356)
Rating 4.4 of 113 users Rating 4.4 of 113 users (113)