Tag

modification

0 views collected around this technical thread.

Architect's Tech Stack
Architect's Tech Stack
Aug 15, 2023 · Fundamentals

Understanding Java for‑loop vs foreach: Traversal, Deletion, and Modification

This article explains how Java's traditional for loop and the enhanced foreach loop differ when iterating collections, how to correctly delete elements, why modifying collection elements directly with foreach fails, and how to safely modify element attributes using iterators or object methods.

CollectionJavafor loop
0 likes · 9 min read
Understanding Java for‑loop vs foreach: Traversal, Deletion, and Modification
Practical DevOps Architecture
Practical DevOps Architecture
Mar 8, 2021 · Fundamentals

Python List Operations: Indexing, Slicing, and Modification

This article explains how Python lists can contain mixed data types, demonstrates accessing elements with positive and negative indexes, shows slicing techniques, and illustrates various ways to add, remove, replace, and manipulate list items using built‑in functions and methods.

IndexingPythonlist
0 likes · 5 min read
Python List Operations: Indexing, Slicing, and Modification