March 2018
Intermediate to advanced
500 pages
12h 40m
English
Variables, methods, functions, and structures declared protected can be accessed only by classes in the same package as the defining class or by subclasses of their defining class that exist in a separate package:
public class Person(private var fullName: String) { protected name: String get() = fullName set(value) { fullName = value }}
Read now
Unlock full access