John Michael Nobleza ICT 1101 Activity 1
John Michael Nobleza ICT 1101 Activity 1
Activity 1
Activity 2
1. The default access modifier implies that we do not specifically declare a class, field, process, etc.
access modifier.
2. Only within the declared class itself can methods, variables, and constructors are declared
private be accessed.
3. Variables, methods, and constructors declared to be protected in a superclass can only be
accessed by subclasses in another package or by any class inside the protected members' class
package.
4. It is possible to access a class, function, constructor, interface, etc. declared public from any
other class.
Activity 3