Hi,
As per my understanding, all the methods & variables in an interface are implicitly public, but the interface itself May have public or package access. Is that correct?
So here:
i & myMethod() are implicitly public but Bounceable has package access.
Am I correct?
As per my understanding, all the methods & variables in an interface are implicitly public, but the interface itself May have public or package access. Is that correct?
So here:
i & myMethod() are implicitly public but Bounceable has package access.
Am I correct?