Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Java Blog
Reviews
About us
Start
Start learning
Start learning now
Articles
Authors
All groups
All Articles List
You must belong to more groups
Create article
All groups
New
John Selawsky
Strings in Java
January 1, 2025 at 12:04 PM
Java String contains() Method
This function is specially designed to check if a string ‘contains’ another string or not. If you’re new to this you might end up using it to find a ‘character’. But it won’t serve the purpose. In this article, we’ll address how java.lang.String.contains() is used, implemented...
Jesse Haniel
Java Collections
December 30, 2024 at 10:19 AM
How to Sort a List in Java
Sorting arrays and lists is one of the most important problems of programming in general. That’s why it’s been solved in different ways a long time ago...
Oleksandr Miadelets
Java Objects
December 30, 2024 at 7:00 AM
Java hashCode()
First of all, before we define Java hashcode, we need to understand what is hashing and what is it for. Hashing is a process of applying a hash function to some data. A hash function is just a mathematical function. Don’t worry about this! “Mathematical” is not always means “complicated”...
Milan Vucic
Strings in Java
December 29, 2024 at 9:06 AM
Java String join() Method
The java string join() method joins all the strings with a delimiter provided to this method. We don’t need to create any object for using this method because it is a static method of the Java String class...
Alex Vypirailenko
Java Arrays
December 29, 2024 at 7:50 AM
Java System.arraycopy() Method
What is Java System.arraycopy() Method? The java.lang.System.arraycopy() method copies a source array, at a specific beginning position, to a destination at a given index...
Alex Vypirailenko
Java Classes
December 28, 2024 at 11:48 AM
Static Class in Java
Java is an object-oriented programming language, and objects are the main building blocks in Java. However, Java also provides the concept of a static class. A static class is a class that can only contain static methods...
Volodymyr Portianko
Java Arrays
December 28, 2024 at 9:24 AM
Arrays.asList() Method in Java
A lot of beginners jumble up the concept of Arrays.asList() method with the data structure ArrayList. Even though they might look and sound similar, these two are totally different when it comes to implementation. In this post, we’ll cover the basic use of...
Volodymyr Portianko
Java Algorithms
December 27, 2024 at 1:37 PM
How to Sort an Array in Java
Sorting is one of the most common and necessary operations in programming. It represents the ordering of some set of elements in a specific order. This article is about standard...
Pavlo Plynko
Java Collections
December 27, 2024 at 8:18 AM
ArrayList removeAll() method in Java
The ArrayList removeAll() method in Java doesn’t remove all elements from proper ArrayList, as its name might suggest. If you need this operation, use the ArrayList clear() method. Unlike clear(), the removeAll() method removes all items from a given list that...
Vasyl Malik
Strings in Java
December 26, 2024 at 3:53 PM
Java String indexOf()
As a Java developer, you must have come across the need to find the position of a character or a substring within a string. Java provides a built-in method called...
Artem Divertitto
Loops in Java
December 26, 2024 at 1:49 PM
For Each Loop in Java
A for-each is a kind of for loop that you use when you need to process all the elements of an array or collection. That said, the phrase for-each is not actually used in this loop. Where type is the type of the iterator variable (which matches the datatype of elements in the array!), itVar is its name, and array is an array...
Milan Vucic
Java IO & NIO
December 26, 2024 at 12:51 PM
Java – Write to File
One of the most common tasks in software development is the ability to read and write files. In Java, writing to a file is a straightforward process that can be done using built-in classes and methods. In this article, we will explore how to write to a file using Java...
Show more
1
...
10
11
12
13
14
...
76
Please enable JavaScript to continue using this application.