Java SE 13: Semantics of Method Invocation & Nested Classes

Java SE 13
  • 10 Videos | 1h 27m 4s
  • Includes Assessment
  • Earns a Badge
Likes 13 Likes 13
This course examines Java's support for exceptions and covers three specific topics: initialized blocks, the details of pass-by-value and pass-by-reference semantics, and the two types of nested classes. You will work in Java with initialization blocks on both static member values to construct static elements in your class and on non-static member variables as an alternative to constructors. This course uses examples of pass-by-value and pass-by-reference code to demonstrate how variables behave when they are passed from one function to another in arrays and strings. Next, learners explore the semantics of argument passing for primitive types, strings, and for objects. You will experiment with arrays and learn to use the Arrays.toString helper method. You will learn the rules and conventions that govern the two types of nested classes: static classes and inner classes. Finally, learn how a static class is created or nested inside a class, and how inner classes can logically group classes and interfaces in one place.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    use initialization blocks to appropriately initialize static and non-static member variables
    recognize how variables of primitive types are governed by pass-by-value semantics in Java
    recognize how variables of reference types are governed by pass-by-reference semantics in Java
    avoid pitfalls related to re-initialization and modification of objects (reference types) while invoking functions in Java
  • correctly define static nested classes
    correctly initialize objects of static nested classes
    correctly define inner classes
    correctly initialize objects of inner classes
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 6s
    UP NEXT
  • Playable
    2. 
    Initialization Blocks
    11m 15s
  • Locked
    3. 
    Pass-by-Value
    9m 58s
  • Locked
    4. 
    Pass-by-Reference
    10m 47s
  • Locked
    5. 
    Modification vs. Re-initialization
    9m 31s
  • Locked
    6. 
    Defining Static Nested Classes
    9m 30s
  • Locked
    7. 
    Using Static Nested Classes
    9m 12s
  • Locked
    8. 
    Defining Inner Classes
    9m 24s
  • Locked
    9. 
    Using Inner Classes
    10m 14s
  • Locked
    10. 
    Course Summary
    1m 8s

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.

YOU MIGHT ALSO LIKE