Shadowing and Using this in Java
When variables or methods are shadowed, you can fix this by using this.
Java Class Constructors
Constructors are a block of code that is executed when creating an instance of that class.
Classes vs Objects
Classes a type of template, whereas objects are an instance of a class.
Local Classes in Java
Local classes are classes defined inside of a method.
Proper Use of Nested Classes
Nested classes are used to encapsulate a class.
Lists in Java
Lists are a collection of elements that are ordered and not unique.
Nested vs Inner Classes in Java
Nested classes cannot access an outer classes variables or methods, whereas inner classes can.
Nested Classes in Java
Nested classes are classes declared inside another class marked as static.
Inner Classes in Java
Inner classes are non-static classes defined inside of another class.
Size vs Capacity in Java Collections
Size is the number of elements in a collection, whereas capacity is the size of the backing array.