Suppose I have a package:
package com.g00gle.car
and
package com.g00gle.car.stereo
Is it possible to have a class in com.g00gle.car to access a class member in com.google.car.stereo? (Assuming the class member is marked as protected).
The answer is no ... (default), but is there a way around this? I have an application that I want to cut into separate pieces ... and for this I create package extensions. Refuse to lose private access to packages.
source
share