What is an access level?
They’re levels of control that determine who/what has access to a specific object/class/method/variable
Are Access Levels and Scopes the same things?
NO!
What are the Access Levels in Java?
Encapsulation: How do we properly encapsulate?
By making the fields private
And make getters & setters that have greater visibility than private
What is a POJO?
Plain Old Java Object
Basically, any object you ever create will be a POJO.
What is a Java Bean?
A Java Bean is a POJO that passes 3 criteria
Are all POJOs java beans?
All JavaBeans are POJOS…..BUT….not all POJOs are JavaBeans
What is a wrapper class?
Wrapper classes are reference type counterparts to the primitive datatypes.
What are the wrapper classes
What is “autoboxing”?
Autoboxing is when a wrapper class is given the primitive counterpart it will AUTOMATICALLY convert the primitive to the respective wrapper class
What is “unboxing”?
Unboxing is the opposite of autoboxing
The “final” modifier.
What is the “final” keyword in java?
A keyword that will make the variable immutable (cannot be changed) after it has been assigned.
What does the “final” keyword do in java?
Final keyword on:
Can we have final on constructor, initializer block, final abstract class, final interface?