IT Skills Software Design and Development Java Modeling Entities Using Classes and Objects
The best way to avoid mysterious bugs while running your Java code is to be adept at working with static members, argument passing, and object base class methodsâ.
Use this course to master these subtleties: the difference between static and instance variables and methods, the hashCode contract, and how pass-by-value and pass-by-reference semantics play out with argument passing in Java.
By the end of this course, you'll be able to model state in classes using both static and instance variables, write methods to avoid unexpected changes in input arguments, and adhere to the hashCode contract so that objects function as expected when placed in common Java containers.
Use this course to master these subtleties: the difference between static and instance variables and methods, the hashCode contract, and how pass-by-value and pass-by-reference semantics play out with argument passing in Java.
By the end of this course, you'll be able to model state in classes using both static and instance variables, write methods to avoid unexpected changes in input arguments, and adhere to the hashCode contract so that objects function as expected when placed in common Java containers.
Objectives |
---|
Modeling Entities in Java: Static Members, Arguments, & Method Overriding
|
