Java OOP: The Semantics of the final & abstract Keywords
Java
| Intermediate
- 9 videos | 1h 45s
- Includes Assessment
- Earns a Badge
In this course, participants learn about two specific and important aspects of Java-the final and abstract keywords. The final keyword can be used to mark member variables, member functions, and even entire classes, with different meanings in each context. You will discover how to mark variables as final, and the implications of doing so. Learn how to correctly instantiate final arrays. Remember that arrays are reference types, pointing to a block of memory, and remember that once an array has been marked as final, it can only be initialized once. Discover how to create and use final classes and final methods. Final classes cannot be extended. You will learn to recognize the implications of defining a class as abstract. Also, learn how to extend abstract classes and the implications of doing so. As the course concludes, you will discover that a class can only be instantiated if it has implemented all abstract methods.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseRecognize how you can assign a member variable to be final and the implications of doing soDefine and use static final member variablesInstantiate final arraysCreate and use final classes and final methods
-
Recognize the implications of defining a class as abstractRecognize how to extend abstract classes and the implications of doing soRecognize that a class can only be instantiated if it has implemented all abstract methodsSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 29s
-
11m 6sAfter completing this video, you will be able to recognize how you can assign a member variable to be final and the implications of doing so. FREE ACCESS
-
6m 36sIn this video, you will define and use static and final member variables. FREE ACCESS
-
9m 3sLearn how to create final arrays. FREE ACCESS
-
6m 34sIn this video, find out how to create and use classes and methods that cannot be changed. FREE ACCESS
-
8m 44sUpon completion of this video, you will be able to recognize the implications of defining a class as abstract. FREE ACCESS
-
8m 7sUpon completion of this video, you will be able to recognize how to extend abstract classes and the implications of doing so. FREE ACCESS
-
6m 39sUpon completion of this video, you will be able to recognize that a class can only be instantiated if it has implemented all abstract methods. FREE ACCESS
-
1m 27s
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.