Java OOP: The Semantics of the final & abstract Keywords

Java    |    Intermediate
  • 9 videos | 1h 45s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 39 users Rating 4.6 of 39 users (39)
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 course
    Recognize how you can assign a member variable to be final and the implications of doing so
    Define and use static final member variables
    Instantiate final arrays
    Create and use final classes and final methods
  • Recognize the implications of defining a class as abstract
    Recognize how to extend abstract classes and the implications of doing so
    Recognize that a class can only be instantiated if it has implemented all abstract methods
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 29s
  • 11m 6s
    After 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
  • Locked
    3.  Final Member Variables
    6m 36s
    In this video, you will define and use static and final member variables. FREE ACCESS
  • Locked
    4.  Final Arrays
    9m 3s
    Learn how to create final arrays. FREE ACCESS
  • Locked
    5.  Final Classes and Final Methods
    6m 34s
    In this video, find out how to create and use classes and methods that cannot be changed. FREE ACCESS
  • Locked
    6.  Defining Abstract Classes
    8m 44s
    Upon completion of this video, you will be able to recognize the implications of defining a class as abstract. FREE ACCESS
  • Locked
    7.  Extending Abstract Classes
    8m 7s
    Upon completion of this video, you will be able to recognize how to extend abstract classes and the implications of doing so. FREE ACCESS
  • Locked
    8.  Instantiating Derived Class Objects of Abstract Classes
    6m 39s
    Upon 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
  • Locked
    9.  Course Summary
    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.

YOU MIGHT ALSO LIKE

Rating 4.8 of 59 users Rating 4.8 of 59 users (59)
Rating 4.7 of 13 users Rating 4.7 of 13 users (13)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 194 users Rating 4.5 of 194 users (194)
Rating 4.5 of 49 users Rating 4.5 of 49 users (49)
Rating 4.8 of 47 users Rating 4.8 of 47 users (47)