Homepage
Open in app
Sign in
Get started
Java
Flutter
Java
Built-in Enum Methods in Java
Built-in Enum Methods in Java
Enums are a special data type in Java. Enum allows you to define a set of named constants. Java 5 introduced enums. After that Enums have…
Uğur Taş
Apr 3
What is EnumMap in Java and When to Use It
What is EnumMap in Java and When to Use It
Java provides various data structures to store and manipulate data efficiently. One such data structure is EnumMap, which is a specialized…
Uğur Taş
Mar 6
Type Erasure in Java
Type Erasure in Java
Type erasure is a feature in Java that allows polymorphism to work with generics. When Java code is compiled, all generic type information…
Uğur Taş
Mar 1
Java Type Casting — Widening and Narrowing
Java Type Casting — Widening and Narrowing
Java supports two types of casting — widening casting and narrowing casting. Casting allows you to convert a variable from one data type…
Uğur Taş
Feb 29
Difference Between execute() and submit() in ExecutorService
Difference Between execute() and submit() in ExecutorService
Multithreading has become a crucial aspect of modern software development, enabling applications to leverage the power of concurrent…
Uğur Taş
Feb 26
Exception Handling in Java Streams
Exception Handling in Java Streams
Java 8 introduced the Java Streams API to allow functional-style operations on streams of data. Streams represent a sequence of elements…
Uğur Taş
Feb 26
Marker Interface in Java
Marker Interface in Java
The marker interface is an interesting concept in Java that can be useful in certain situations. In Java, a Marker Interface is an…
Uğur Taş
Feb 24
Reference Types in Java
Reference Types in Java
In Java, there are two main categories of data types — primitive types and reference types. Primitive types like int, double, boolean etc…
Uğur Taş
Feb 24
Types of Polymorphism in Java
Types of Polymorphism in Java
Polymorphism is one of the key concepts in object-oriented programming languages like Java. Polymorphism allows developers to use objects…
Uğur Taş
Feb 24
Java Stream API Best Practices
Java Stream API Best Practices
Java 8 introduced the Java Stream API to provide a functional programming style for handling collections of data. Streams allow you to…
Uğur Taş
Feb 19
Lazy Initialization Design Pattern and Java Implementation
Lazy Initialization Design Pattern and Java Implementation
A design pattern called lazy initialization delays creating an object or calculating a value until first needed. In Java, lazy…
Uğur Taş
Feb 19
Constructor and Constructor’s Return Type in Java
Constructor and Constructor’s Return Type in Java
Constructors are special methods used to initialize objects in object-oriented programming. Unlike other methods, constructors do not have…
Uğur Taş
Feb 8
ArrayList in Java
ArrayList in Java
Arrays in Java have a fixed size that needs to be specified at the time of declaration. This can be inconvenient when the number of…
Uğur Taş
Feb 8
Variable Types in Java
Variable Types in Java
When writing programs, variables are used to store data that can be accessed and manipulated throughout the execution of the code. Three…
Uğur Taş
Jan 25
Initializing Arrays in Java
Initializing Arrays in Java
Arrays are fundamental data structures in Java. Arrays in Java allow you to store multiple values of the same data type in a single…
Uğur Taş
Jan 24
What is Java used for?
What is Java used for?
Java is a popular general purpose programming language. Developers have widely used Java for over two decades. Sun Microsystems originally…
Uğur Taş
Jan 23
Stack Memory and Heap Memory in Java
Stack Memory and Heap Memory in Java
Learn the key differences between stack and heap memory in Java. This in-depth guide covers how each memory type
Uğur Taş
Nov 30, 2023
Autoboxing and Unboxing in Java
Autoboxing and Unboxing in Java
Autoboxing and unboxing are features introduced in Java SE 5 that allow automatic conversion between primitive types and their…
Uğur Taş
Nov 27, 2023
Exception, What Happens Behind the Scenes in Java
Exception, What Happens Behind the Scenes in Java
Exceptions are events that disrupt the normal flow of program execution in Java. When an exception occurs, the default behavior is for the…
Uğur Taş
Nov 23, 2023
Heap Memory and How It Works in Java
Heap Memory and How It Works in Java
Heap memory is an important concept in Java that every developer should understand. The heap is the runtime data area. Hence heap memory…
Uğur Taş
Nov 19, 2023
Stack Memory and How It Works in Java
Stack Memory and How It Works in Java
Stack memory refers to a region of memory where Java keeps variables when declared inside methods or blocks. The stack follows the Last In…
Uğur Taş
Nov 17, 2023
Bitwise Operator vs Logical Operator in Java
Bitwise Operator vs Logical Operator in Java
Learn differences between bitwise and logical AND, as well as bitwise and logical OR.Gain insights into lazy and short-circuit evaluation
Uğur Taş
Nov 14, 2023
Understanding the new Keyword in Java
Understanding the new Keyword in Java
The new keyword in Java is used to create new objects. It is one of the most fundamental and important keywords in the Java programming…
Uğur Taş
Nov 9, 2023
Understanding Literals in Java
Understanding Literals in Java
Java has undergone significant evolution since its inception. Each new version brings improvements and new features, but one concept that…
Uğur Taş
Nov 5, 2023
Effective Java Coding Practices
Effective Java Coding Practices
Learn how to write clean, efficient, and maintainable Java code with our comprehensive guide on effective Java coding practices.
Uğur Taş
Nov 3, 2023
About Codimis
Latest Stories
Archive
About Medium
Terms
Privacy
Teams