Surveys & Quizzes
Start learning now
All Articles List
You must belong to more groups
1 December 2021 10:30
Hot Programming, Tech, and Career Predictions for 2022 that can Help You Stay Head and Shoulder Above other Java Specialists
According to the world-famous American writer and software engineer Robert L. Glass, "The best programmers are up to 28 times better than the worst programmers". However, great...
29 November 2021 12:40
How to Learn Java at Home and Stay Sane. Tips and Tricks to Improve Your Self-Learning Skills
Studying anything at home on your own is never easy for the obvious reason — there is no one around to watch over. No one except you, and let’s face it, most of us just can’t serve as a rigorous warden to thine own self...
26 November 2021 8:51
Coding Rules: From Creating a System to Working With Objects
Good day, everybody! Today we would like to talk to you about writing good code. Of course, not everyone wants to chew on books like Clean Code right away, since they contain copious amounts of information but not much is clear at first. And by the time you finish reading, you may kill all your desire to code...
23 November 2021 15:09
How to use keySet method in java.util.Map
If you need to get all the keys that your Map contains, you can use the really handy java.util.HashMap.keySet() method. In this article, we will explain how it works. As you know, the HashMap class implements the Map...
23 November 2021 13:49
Top Painfully Fun and Ridiculous Recommendations for Newbies on How to Learn Coding
Any newbie who is willing to become a good programmer, most likely, googles three top things at first: Which programming language to begin with? How to learn? Where to learn?..
18 November 2021 7:29
HashMap computeIfAbsent() method in Java
Java 8, as many of us know, introduced the Stream API. This is a very useful toolkit, but it has a drawback, it does not include Maps. However, Java 8 added several useful methods to the Map interface itself to reduce the amount of "bad" code...
16 November 2021 12:36
Why Java? Top Reasons to Learn Java Even if You’re Not Going to Link It to Your Career
Java just for fun? Why not?! No denying, the good post of a Java developer (and, accordingly, good money) can be a good motivation. But that’s not the only reason more...
12 November 2021 12:00
IT giants whose business is impossible without Java
Virtually nobody challenges the fact that Java is one of the most popular programming languages based on literally every major criterion. However, to avoid making claims without evidence, here is some basic information and statistics. Can Java really be called the most popular programming...
Strings in Java
12 November 2021 7:27
Java String lastIndexOf() Method
The lastIndexOf() method returns the position of the last occurrence of a specified character or a substring in a string. Imagine that you have some kind of long text, or rather a long line...
10 November 2021 9:15
Top Pet Projects to Boost Your Java Learning
If you are a Java programming beginner, probably, it’s high time that you started working on some Java project! Here, at CodeGym, we believe in the fantastic effect of a practical-oriented approach as theoretical knowledge alone will never help you...
8 November 2021 10:03
You Won’t Get Bored! How Codegym Turns Learning Java Into a Game
Today, in 2021, online education has become very common globally, and quite rightfully so. The benefits of learning on the Internet as opposed to getting an offline education in a traditional way are well-known and rather obvious...
5 November 2021 13:24
SOLID: Five basic principles of class design in Java
Classes are the building blocks of applications. Just like bricks in a building. Poorly written classes can eventually cause problems. To understand whether a class is properly written, you can check how it measures up to "quality standards". In Java, these are the so-called SOLID principles...
Terms and Policy
Accept and close