Christmas Sale
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
Pavlo Plynko
Design Patterns in Java
25 March 2019 14:09
Adapter design pattern
Hi! Today we will touch on an important new topic: design patterns. What are these patterns? I think you must know the expression "don't reinvent the wheel". In programming, as in many other areas, there are a large number of common situations. As software development has evolved...
Alex Vypirailenko
Java IO & NIO
23 March 2019 12:35
Input/output in Java. FileInputStream, FileOutputStream, and BufferedInputStream classes
"Hi! In today's lesson, we'll continue our conversation about input and output streams in Java (Java I/O). This is not the first lesson on this topic, and it certainly won't be the last :) As it happens, the Java language provides many ways...
Volodymyr Portianko
Serialization in Java
22 March 2019 15:11
Externalizable interface in Java
Hi! Today we'll continue to get to know serialization and deserialization of Java objects. In the last lesson, we got to know the Serializable marker interface, reviewed examples of its use, and also learned how you can use the transient keyword to control the serialization process...
Volodymyr Portianko
Multithreading in Java
22 March 2019 13:39
Managing threads. The volatile keyword and the yield() method
Hi! We continue our study of multithreading. Today we'll get to know the volatile keyword and the yield() method. Let's dive in :) When creating multithreaded applications, we can run into two serious problems. First, when a multithreaded application is running, different threads can cache ...
Jesse Haniel
Multithreading in Java
22 March 2019 13:01
Thread synchronization. The synchronized operator
Hi! Today we'll continue to consider the features of multithreaded programming and talk about thread synchronization. What is 'synchronization'? Outside of the programming domain, it implies an arrangement that allows two devices or programs to work together. For example, a smartphone and computer...
Pavlo Plynko
Multithreading in Java
22 March 2019 12:00
Multithreading: What the methods of the Thread class do
Hi! Today we'll continue to talk about multithreading. Let's examine the Thread class and what a few of its methods do. When we studied class methods previously, we usually just wrote this: -> . This won't work with Thread's methods :) ...
Pavlo Plynko
Java Objects
21 March 2019 15:33
Sequence of actions during object creation
Hi! Today's lesson will be quite... uh... multifaceted :) in the sense that we will cover a wide range of topics, but they will all relate to the object creation process. We will analyze it from beginning to end: how constructors are called, how and in what order fields (including static fields) are initialized, etc...
John Selawsky
Inheritance in Java
20 March 2019 12:15
Widening and narrowing of reference types
Hi! In a past lesson, we discussed casting primitive types. Let's briefly recall what was discussed. We imagined primitive types (in this case, numeric types) as nesting dolls that vary in size according to the amount of memory they occupy...
Andrew
Random
19 March 2019 21:47
Next step, what do you suggest?
While CodeGym is busy creating the next big content release, what would you suggest as a next step? My goal is to learn enough Java that I can start working as a Jr. Developer. I've been at this for almost a year now, going through online "Learn Java" programs, reading through several of the top recommended books...
Aditi Nawghare
Java Interfaces
18 March 2019 9:53
The difference between abstract classes and interfaces
Hi! In this lesson, we'll talk about how abstract classes differ from interfaces and consider some examples with common abstract classes. We've devoted a separate lesson to the differences between an abstract class and an interface, because this topic is very important...
Vasyl Malik
Java Classes
17 March 2019 8:29
Specific examples of abstract classes in Java
Hi! In past lessons, we met interfaces and figured out what they're for. Today's topic will echo the previous one. Let's talk about abstract classes in Java. You probably remember what 'abstraction' is — we've already gone over it. :) If you forgot, fear not. Remember: it's a principle of OOP...
Volodymyr Portianko
Java Interfaces
16 March 2019 7:58
Default methods in interfaces
Every new version of Java differs from those that came before. Here's an example of changes in material that we've covered: before Java 5, the language didn't have enums. Similarly, Java 8 differs markedly from Java 7. Most of our lessons were written for the 7th version of the language...
Show more
1
...
65
66
67
68
69
...
72
Please enable JavaScript to continue using this application.