Course contentsShow
Java
Lesson 345 of 2,8708. Classes and EncapsulationPro lesson

Read-Only Properties: Getters Without Setters

Creating immutable properties by providing only getter methods and initializing fields via constructors.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.