Java Defensive Techniques
Android
| Intermediate
- 18 videos | 59m 34s
- Includes Assessment
- Earns a Badge
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 safelyCheck for the presence of null to avoid errorsDesign setters to avoid potential errorsRecognize how to compare two objects in java avoiding potential errorsWork safely with the java switch and case statementsUse atomic and nonatomic operations in threaded applicationsUse final properties to minimize potential for errorsRecognize when to use mutable and immutable classesImplement a basic enum in java
-
Use enums to reduce the possibility of unexpected inputImplement an enum with a constructor and recognize the rules for enum constructorsImplement an interface in an enumCreate an enum with abstract methodsUse packages and classes to implement proper encapsulationImport packages in java android appsUse different scopes to implement defensive programmingCreate apks to run on android devicesCreate jars for exporting java code between apps
IN THIS COURSE
-
2m 59sDuring this video, you will learn how to initialize instances of classes safely. FREE ACCESS
-
3m 32sIn this video, you will check for the presence of null values to avoid errors. FREE ACCESS
-
3m 13sIn this video, learn how to design setters to avoid potential errors. FREE ACCESS
-
3m 7sUpon completion of this video, you will be able to compare two objects in Java without making any mistakes. FREE ACCESS
-
3m 44sDuring this video, you will learn how to work safely with Java switch and case statements. FREE ACCESS
-
3m 17sDuring this video, you will learn how to use atomic and nonatomic operations in threaded applications. FREE ACCESS
-
3m 27sIn this video, you will learn how to use final properties to minimize potential errors. FREE ACCESS
-
3m 30sUpon completion of this video, you will be able to recognize when to use mutable and immutable objects. FREE ACCESS
-
3m 4sLearn how to implement a basic enum in Java. FREE ACCESS
-
3m 9sIn this video, you will use enums to reduce the possibility of unexpected input. FREE ACCESS
-
3m 38sFind out how to implement an enum with a constructor and recognize the rules for enum constructors. FREE ACCESS
-
3m 26sDuring this video, you will learn how to implement an interface in an enum. FREE ACCESS
-
3m 22sTo 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
-
2m 55sFind out how to use packages and classes to implement proper encapsulation. FREE ACCESS
-
3m 36sIn this video, you will learn how to import packages in Java Android apps. FREE ACCESS
-
3m 20sLearn how to use different scopes to implement defensive programming. FREE ACCESS
-
3mIn this video, you will learn how to create APKs to run on Android devices. FREE ACCESS
-
3m 17sTo 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.