Promotion
CodeGym University
Learning
Course
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
All groups
Cities
Countries
Companies
Universities
Technologies
General
New
Popular
New
Old
John Squirrels
CodeGym
3 April 2020 9:56
Spring sale on CodeGym: discounts are as good as vitamin C
Hey! Did you know that a good mood and activities for your own pleasure may boost your immune system? Let’s bring you some good news and say that the season of really cool discounts has started on CodeGym. Until April 17th, you can get an annual subscription at 50% OFF...
Viacheslav
Java Developer
2 April 2020 11:51
Better together: Java and the Thread class. Part VI — Fire away!
Threads are an interesting thing. In past reviews, we looked at some of the available tools for implementing multithreading. Let's see what other interesting things we can do. At this point, we know a lot. For example, from "Better together: Java and the Thread class. Part I — Threads of execution", we know that...
Viacheslav
Java Developer
1 April 2020 11:10
Better together: Java and the Thread class. Part V — Executor, ThreadPool, Fork/Join
So, we know that Java has threads. You can read about that in the review entitled Better together: Java and the Thread class. Part I — Threads of execution. Let's take another look at the typical code...
Viacheslav
Java Developer
31 March 2020 15:53
Better together: Java and the Thread class. Part IV — Callable, Future, and friends
In Part I, we reviewed how threads are created. Let's recall one more time. A thread is represented by the Thread class, whose run() method gets called. So let's use the Tutorialspoint online Java compiler and execute the following code...
Viacheslav
Java Developer
30 March 2020 9:43
Better together: Java and the Thread class. Part III — Interaction
A brief overview of the particulars of how threads interact. Previously, we looked at how threads are synchronized with one another. This time we will dive into the problems that may arise as threads interact, and we'll talk about how to avoid them. We will also provide some useful links for more in-depth study...
Viacheslav
Java Developer
27 March 2020 10:19
Better together: Java and the Thread class. Part II — Synchronization
So, we know that Java has threads. You can read about that in the review entitled Better together: Java and the Thread class. Part I — Threads of execution. Threads are necessary to perform work in parallel. This makes it highly likely...
Viacheslav
Java Developer
26 March 2020 18:18
Better together: Java and the Thread class. Part I — Threads of execution
Multithreading was built into Java from the very beginning. So, let's briefly look at this thing called multithreading. We take the official lesson from Oracle as a reference point: "Lesson: The "Hello World!" Application". We'll slightly alter...
Alex Vypirailenko
Java Developer
26 March 2020 16:42
Examples of reflection
Maybe you've encountered the concept of "reflection" in ordinary life. This word usually refers to the process of studying oneself. In programming, it has a similar meaning — it is a mechanism for analyzing data about a program, and even changing the structure and behavior of a program, while the program is running.
Milan Vucic
Java Developer
26 March 2020 15:53
equals and hashCode methods: best practices
Hi! Today we'll talk about two important methods in Java: equals() and hashCode(). This isn't the first time we've met them: the CodeGym course begins with a short lesson about equals() — read it if you've forgotten it or haven't seen it before...
Oleksandr Miadelets
Java Developer
26 March 2020 9:28
Inner classes in a local method
Hi! Let's talk about another kind of nested classes. I'm talking about local classes (method-local inner classes). Before diving in, we must first remember their place in the structure of nested classes. From our diagram, we can see that local classes are a subspecies of inner classes...
John Selawsky
Java Developer
26 March 2020 7:43
Nested inner classes
Hi! Today we'll take up an important topic: how nested classes work in Java. These internal classes are called nested. They are divided into 2 types: Non-static nested classes (these are also called inner classes), Static nested classes. In turn, inner classes have two distinct subcategories...
John Selawsky
Java Developer
26 March 2020 6:55
Anonymous classes
Hi! In today's lesson, we'll continue to examine the topic of nested classes. Now it's time for the last group: anonymous inner classes. Like the local classes that we talked about in the last lesson, anonymous classes are a kind of inner class... They also have several similarities and differences...
Show more
1
...
48
49
50
51
52
...
63
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our
Terms and Policy
.
Accept and close
Please enable JavaScript to continue using this application.