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
Volodymyr Portianko
Java Developer
20 July 2018 13:49
Exceptions: checked, unchecked, and custom
Hi! In the last lesson, we got acquainted with exceptions in the Java language, and saw examples of how to work with them. Today we will take a deeper look at the structure of exceptions, and learn how to write our own exceptions. :) As we said previously, there are a lot of exceptions in Java, almost 400 ...
Oleksandr Miadelets
Java Developer
20 July 2018 13:29
Exceptions: catching and handling
Hi! I hate to mention it, but a huge part of a programmer's work is dealing with errors. Most often, his or her own. It turns out that there are no people who don't make mistakes. And there are no such programs either. Of course, when dealing with an error, the main thing is to understand its cause ...
Oleksandr Miadelets
Java Developer
20 July 2018 12:27
Method declaration
Hi! You've already known about creating your own classes with fields and methods. Now we'll dwell on methods. Of course, we've already done this more than once in our lessons, but we've mainly covered generalities. Today, we're going to dissect methods, and study what they're made of ...
Milan Vucic
Java Developer
20 July 2018 11:58
How not to get lost in time: DateTime and Calendar
Hi! Today we'll start working with a new data type we haven't encountered before, namely, dates. I don't think I need to explain what a date is. :) In principle, we could store the current date and time in an ordinary Java String. But this approach has many drawbacks. The String class is designed to work with text ...
Jesse Haniel
Java Developer
20 July 2018 9:40
Collections class in Java
Hi! In the past few lessons, we've made great progress in our mastery of ArrayList. However, so far we've only performed the simplest operations: remove, insert, and display. Of course, this doesn't cover the full list of tasks that developers must perform when working with ArrayList ...
Oleksandr Miadelets
Java Developer
20 July 2018 8:53
ArrayList in pictures
Hi! Today's lesson about ArrayList will be both easier and harder than previous lessons. It will be more difficult because today we're going to look under the hood of ArrayList and study what happens during various operations. On the other hand, this lesson will have almost no code ...
Volodymyr Portianko
Java Developer
20 July 2018 7:30
Deleting an element from an ArrayList
Hi! In the last lesson, we got acquainted with the ArrayList class, and learned how to perform the most common operations with this class. In addition, we pointed out several differences between an ArrayList and an ordinary array. But we skirted one topic, namely, how to delete elements from an ArrayList ...
CodeGym
Java Developer
20 July 2018 7:20
Old Level 04
Old Level 04
CodeGym
Java Developer
20 July 2018 7:20
Old Level 03
Old Level 03
Volodymyr Portianko
Java Developer
19 July 2018 13:26
Something about arrays
Hi! Previously in your training, we've worked with single objects (and primitive types). But what if we need to work with a whole group of objects instead of just one? For example, say we want to create a list of birthdays of all employees at our company. We'll benefit from a special data structure called an array ...
Milan Vucic
Java Developer
19 July 2018 12:22
More about the garbage collector
Hi! In the last lesson, we first became acquainted with Java's built-in garbage collector and got a rough idea of how it works. It works in the background while your program is running, collecting unnecessary objects that will be deleted later. Thus, it frees up memory that can be used to create new objects in the future ...
John Selawsky
Java Developer
19 July 2018 12:04
Object lifecycle
Hi! I think you wouldn't be very surprised if I told you that your computer has a limited amount of memory :) Even your hard drive (which is many, many times the size of RAM) can get chock full of your favorite games, TV shows, and other things. To prevent this from happening, you need to monitor the current state ...
Show more
1
...
58
59
60
61
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.