I’ve been dabbling in Java 8 new features and I must admit, they made updates that are definitely useful and should be kept in your tool belt.
First off, let’s talk bout the new changes to Interface.
What are the differences between the two? Now that Java 8 enables default methods in interfaces, do you even need abstract classes at all?
Lets go over the attributes of an Abstract Class:
Here a list of access modifiers in Java and what they entails if you decide to use them.
Restrictive spectrum
Least ← — — — →Most
Private, Default, Protected, Public
When I first learned Java, I was confused about these two API because they looked and functioned as if they were the same! But there is an important distinction between them and if you want to be a Java developer, you should know what it is.