Author: Rabecca Fatima
-
JavaPackages in Java
In Java, a package is a container for a collection of classes, sub-packages, and interfaces. The package keyword is used to create…
June 3, 2022
-
JavaSub packages in Java
The subpackage is a package within a package. It should be developed to further categorize the package. Sub packages are…
June 3, 2022
-
JavaAbstract Class & Method in Java
In Java, an abstract class is specified with the abstract keyword. Both abstract and non-abstract methods can be used (method…
June 3, 2022
-
JavaInterface in Java
In Java, an interface is a blueprint for a class. It has abstract methods and static constants. In Java, the…
June 3, 2022
-
JavaInterface vs Abstract class
As we all know, abstraction refers to hiding the internal implementation of a feature and only giving the users the…
June 3, 2022
-
JavaNested Class in Java
It is possible to define a class within another class in Java, and these classes are referred to as nested…
June 11, 2022
-
JavaRegular class vs static nested class
Comparison between a normal or regular class and a static nested class. S.NO Normal/Regular inner class Static nested class 1….
June 11, 2022
-
JavaAbstract class vs Concrete class
Following are the important differences between an abstract class and a concrete class. Sr. No. Key Abstract Class Concrete Class…
June 11, 2022
-
JavaStrings in Java
Strings are Objects in Java that are internally backed by a char array. They are immutable because arrays are immutable…
June 11, 2022
-
JavaString class methods in Java
Many useful methods for performing operations on a sequence of char values are available in the java.lang.String class. No. Method…
June 11, 2022
-
JavaSome examples of string class methods
The methods listed below are some of the most frequently used String class methods in Java. charAt() method: The charAt()…
June 15, 2022
-
JavaJava StringBuffer class
StringBuffer is a String peer class that provides a lot of the same functionality as strings. StringBuffer represents growable and…
June 16, 2022