Defensive Java Fundamentals

Java 8    |    Intermediate
  • 16 Videos | 1h 39m 48s
  • Earns a Badge
Likes 130 Likes 130
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

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE