What is Inheritance Inheritance is one of the key features of OOP that allows us to create a new class from an existing class. The…
The meaning of Encapsulation ( also known as Data Hiding ), is to make sure that “sensitive” data is hidden from users. Encapsulation is a process…
What is Abstraction? An interface is a completely “abstract class” that is used to group related methods with empty bodies. Interface in JAVA is able to achieve…
What is Abstraction? Data abstraction is the process of hiding certain details and showing only essential information to the user. Important Note: Interface is used to achieve…
Android App are mostly developed in JAVA language using Android SDK (Software Development Kit). Other languages like C, C++, Scala etc. can also be used…
Access Modifier Same Class Same Package Subclass Same Package non-Subclass Different Package Subclass Different Package non-Subclass Default Yes Yes Yes No No Private Yes No…
The ArrayList class is a resizable array, which can be found in the java.util package. The difference between a built-in array and an ArrayList in Java, is that the size of an…


