Tag

Cloning

1 views collected around this technical thread.

IT Services Circle
IT Services Circle
Feb 14, 2022 · Fundamentals

Six Ways to Create Objects in Java

This article presents six Java object‑creation techniques—including direct instantiation, cloning, reflection‑based allocation, dynamic class loading, constructor invocation via reflection, and deserialization—explaining each method with code examples and practical notes for developers.

CloningJavaLombok
0 likes · 7 min read
Six Ways to Create Objects in Java
Java Tech Enthusiast
Java Tech Enthusiast
Sep 3, 2021 · Fundamentals

Understanding Java Marker Interfaces: Serializable, Cloneable, and RandomAccess

The article explains Java marker interfaces—Serializable, Cloneable, and RandomAccess—showing how their empty definitions signal capabilities such as object serialization, shallow or deep cloning, and fast list indexing, and demonstrates the practical effects on code behavior and performance.

CloningJavaMarker Interface
0 likes · 13 min read
Understanding Java Marker Interfaces: Serializable, Cloneable, and RandomAccess
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 14, 2021 · Backend Development

Various Ways to Create Objects in Java: new, newInstance, Reflection, Cloning, and Deserialization

This article explains the multiple techniques for creating objects in Java—including the new operator, Class.newInstance, reflection with Constructor, cloning via Cloneable, and deserialization—while illustrating the underlying bytecode instructions and providing concrete code examples for each method.

CloningJavaObject Creation
0 likes · 8 min read
Various Ways to Create Objects in Java: new, newInstance, Reflection, Cloning, and Deserialization
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 4, 2020 · Fundamentals

Understanding the Prototype Design Pattern in Java

The article explains the Prototype design pattern in Java, covering its definition, class diagram, implementation with Cloneable, shallow vs deep copying, advantages, use cases, Spring prototype scope, and provides complete code examples illustrating cloning of Sheep, Goat, and Lamb objects.

CloningJavaPrototype Pattern
0 likes · 12 min read
Understanding the Prototype Design Pattern in Java
Selected Java Interview Questions
Selected Java Interview Questions
Jul 23, 2020 · Fundamentals

Understanding Reference, Shallow, and Deep Copy in Java

This article explains Java reference copying, object cloning, and the differences between shallow and deep copy, providing code examples and output analysis to illustrate how each method affects object identity and shared references.

CloningCopyJava
0 likes · 8 min read
Understanding Reference, Shallow, and Deep Copy in Java
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 23, 2019 · Databases

MySQL 8.0.17 Release Highlights: Cloning, JSON Multi‑Value Indexes, Optimizer Improvements, and More

MySQL 8.0.17 introduces server cloning via MySQL Shell, multi‑value indexes for JSON arrays, enhanced JSON schema validation, optimizer and Volcano iterator upgrades, new collations, replication and routing enhancements, plus numerous bug fixes and deprecations, all detailed in the official release notes.

CloningDatabaseJSON Index
0 likes · 8 min read
MySQL 8.0.17 Release Highlights: Cloning, JSON Multi‑Value Indexes, Optimizer Improvements, and More
Java Captain
Java Captain
Mar 17, 2019 · Fundamentals

Understanding Java Reflection, Serialization, Dynamic Proxies, and Object Cloning

This article explains Java reflection, serialization, dynamic proxy mechanisms, and object cloning techniques, including code examples and the differences between deep and shallow copies, providing a comprehensive overview of these core Java concepts.

CloningDynamic ProxySerialization
0 likes · 8 min read
Understanding Java Reflection, Serialization, Dynamic Proxies, and Object Cloning
Java Captain
Java Captain
Mar 31, 2018 · Fundamentals

Understanding Object Cloning in Java: Shallow vs Deep Copy

This article explains Java object cloning, detailing why cloning is needed, how to implement shallow and deep copies using the Cloneable interface and serialization, and provides comprehensive code examples illustrating the differences and pitfalls of reference copying.

CloneableCloningJava
0 likes · 15 min read
Understanding Object Cloning in Java: Shallow vs Deep Copy