Defensive Java Fundamentals
Java 8
| Intermediate
- 16 Videos | 1h 39m 48s
- Earns a Badge
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 Javause assertions in your Java programming codeuse annotations in Java programming codeidentify issues with conversions to narrower types in Java and identify issues with promotions such as long to doubleidentify issues with floating point valuesrecognize what integer overflow is and how to prevent itidentify issues with arithmetic operations in Java programsidentify issues with forming strings containing partial characters from variable-width encodings
-
identify issues with encoding non-character data as a stringidentify issues with using strings to compare locale-dependent dataidentify how to use null values in creating defendable codedemonstrate how to use exceptions appropriately in Java to handle errorsidentify how denial of service attacks can occuridentify how to manage resources safely in Javaidentify how to corrrectly terminate Java programsuse defensive programming techniques in Java programs
IN THIS COURSE
-
1.Defensive Coding in Java7m 28sUP NEXT
-
2.Assertions7m 18s
-
3.Annotations8m 59s
-
4.Conversions and Promotions8m 20s
-
5.Issues with Floating Point Values5m 5s
-
6.Integer Overflow Vulnerability7m 6s
-
7.Issues with Operations7m 32s
-
8.Strings and Variable-Width Encodings4m
-
9.Strings and Non-Character Data3m 34s
-
10.Strings and Locale-Depedent Data4m 11s
-
11.The Value of null6m 46s
-
12.Utilizing Exceptions Correctly6m 23s
-
13.Denial of Service Attacks5m
-
14.Releasing Resources5m 22s
-
15.Termininating Programs4m 34s
-
16.Exercise: Code Defensively in Java8m 9s
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.