Cathasaigh

Cathasaigh

I'm an author, writer, musician, and a software developer with over 17 years experience. All glory goes to God.
Nov
05
Field and Method Hiding in Java

Field and Method Hiding in Java

Field and method hiding is where you have the same field name or static method signature in a superclass and in a subclass.
2 min read
Nov
04
Shadowing and Using this in Java

Shadowing and Using this in Java

When variables or methods are shadowed, you can fix this by using this.
2 min read
Nov
01
Java Class Constructors

Java Class Constructors

Constructors are a block of code that is executed when creating an instance of that class.
5 min read
Oct
31
Classes vs Objects

Classes vs Objects

Classes a type of template, whereas objects are an instance of a class.
1 min read
Oct
30
Local Classes in Java

Local Classes in Java

Local classes are classes defined inside of a method.
2 min read
Oct
29
Proper Use of Nested Classes

Proper Use of Nested Classes

Nested classes are used to encapsulate a class.
2 min read
Oct
28
Lists in Java

Lists in Java

Lists are a collection of elements that are ordered and not unique.
5 min read
Oct
25
Nested vs Inner Classes in Java

Nested vs Inner Classes in Java

Nested classes cannot access an outer classes variables or methods, whereas inner classes can.
2 min read
Oct
24
Nested Classes in Java

Nested Classes in Java

Nested classes are classes declared inside another class marked as static.
1 min read
Oct
23
Inner Classes in Java

Inner Classes in Java

Inner classes are non-static classes defined inside of another class.
2 min read