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
New
Volodymyr Portianko
Java Exceptions
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
Methods in Java
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
Core Java
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 Collections
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 Collections
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 Collections
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 Arrays
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
Core Java
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 Objects
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 ...
Vasyl Malik
Statements in Java
19 July 2018 11:25
Java Ternary operator
Hi! Today's lesson won't be very long, but it will definitely be useful :) We're going to talk about the so-called ternary operator. Ternary means "composed of three parts". It is an alternative to the if-else control flow statement that you've already met. Let's give an example. Suppose someone decided...
Show more
1
...
66
67
68
69
Please enable JavaScript to continue using this application.