All Stories

Java - no_image

Default method in interfaceJava 8 allows to define default method in interface. Default methods allow us to add new methods in interface that are automatically available to it’s imple...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

Access modifiers

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

VectorThe Vector class implements a growable array of objects. Like an array, it contains components that can be accessed using an integer index. However, the size of a Vector can gro...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

TreeSetTreeSet class implements the Set interface that uses a tree for storage. It inherits AbstractSet class and implements the NavigableSet interface. The elements are ordered using...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

TreeMapA Red-Black tree based NavigableMap implementation. The map is sorted according to the natural ordering of its keys, or by a Comparator provided at map creation time, depending...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

Stream interfacepublic interface Stream<T> extends BaseStream<T, Stream<T>>

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

StackThe Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with five operations that allow a vector to be treated as a stack. The usual push ...

In tutorial, no_image, java, Jan 23, 2025

Java - serialize_deserialize_java

Serializable interfaceSerialization is a mechanism of converting the state of an object into a byte stream. Deserialization is the reverse process where the byte stream is used to rec...

In tutorial, serialize_deserialize_java, java, Jan 23, 2025

Java - linkedlist-node

LinkedListDoubly-linked list implementation of the List and Deque interfaces. Implements all optional list operations, and permits all elements (including null).

In tutorial, linkedlist-node, java, Jan 23, 2025

Java - no_image

LinkedHashSetHash table and linked list implementation of the Set interface, with predictable iteration order. This implementation differs from HashSet in that it maintains a doubly-l...

In tutorial, no_image, java, Jan 23, 2025