Menu

#ArrayList

6 posts

Feed·
6 of 6 posts
Java Tricky Question: Why Does This List Crash With ClassCastException When There Is No Cast in the Code?
📰
0Read More

Java Tricky Question: Why Does This List Crash With ClassCastException When There Is No Cast in the Code?

DEV Community: java·Vishnu B·about 19 hours ago
#8SV6qPdp
#devtojava#devto#dev#java#list

Here is a scenario that has confused many Java developers, because the line that crashes contains no...

15s
Java Tricky Question: Why Does Removing From an ArrayList Inside a for-each Loop Crash Only Sometimes?
📰
0Read More

Java Tricky Question: Why Does Removing From an ArrayList Inside a for-each Loop Crash Only Sometimes?

DEV Community: tutorial·Vishnu B·3 days ago
#VeifcLpj
#devtotutorial#devto#dev#iterator#java

Here is a scenario that surprises people in interviews and in real code. Look at this tiny program...

15s
Solving LeetCode 2553: Separate the Digits in an Array using Java
📰
0Read More

Solving LeetCode 2553: Separate the Digits in an Array using Java

DEV Community·Jerin·7 months ago
#eKeQY6W8
#java#problem#example#algorithm#nums

Difficulty: Easy Topics: Array, Simulation Platform: Leetcode Problem Statement Given an...

15s
👻 The Ghost of the Ancestor: A Memory Horror Story in Go, Java, and Rust
📰
0Read More

👻 The Ghost of the Ancestor: A Memory Horror Story in Go, Java, and Rust

DEV Community·Satyadev Neti·7 months ago
#n9ioIGd0
#go#java#rust#scores1#scores2

In the world of high-performance programming, we are obsessed with Slices. We want to take a small...

15s