Tag: objects
-
JavaJava object creation methods
Everything revolves around the object in Java, which is an object-oriented language. An object represents a class’s runtime entity and…
May 8, 2022
-
JavaOOPs in Java
What is OOPs? Object-Oriented Programming is a methodology or paradigm for designing a program using classes and objects. Many concepts, such…
May 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
-
JavaSerialization and Deserialization in Java
An object’s state can be transformed into a byte stream through a process known as serialization. Deserialization is the opposite…
July 16, 2022
-
JavaJava TreeSet class
TreeSet is a widespread Java implementation of the SortedSet interface that employs a Tree for storage. Whether an explicit comparator…
July 26, 2022
-
JavaCollections Class in Java
The Collections class belongs to the Java Collections Framework. The package java.util.Collections is the package containing the Collections class. The…
August 5, 2022
-
JavaWrapper Class in Java
A Wrapper class is one whose object contains or wraps primitive data types. When we create an object for a…
August 20, 2022
-
JavaByte Class in Java
The Byte class creates an object out of a primitive type byte value. An object of type Byte has a…
August 21, 2022
-
C++OOPs Concepts in C++
Object-oriented programming (OOPs) is a programming approach or pattern in which programs are structured around objects rather than functions and…
September 20, 2022
-
C++Classes and Objects in C++
The fundamental idea that the object-oriented approach revolves around in C++ is the concept of classes and objects. It increases…
October 4, 2022
-
C++static keyword in C++
When the static keyword is used, variable or data members or functions can no longer be changed. It is allocated…
October 14, 2022
-
C++Mutable keyword in C++
Mutable data members are those whose values can be changed in runtime even if the object’s type is constant. It…
October 16, 2022