How do you make a protected function in a class accessible to just all classes in the package in Scala?
You can do
protected[packagename] def foo() {...}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With