Promotion
CodeGym University
Learning
Course
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Group
Reviews
About us
Start
Start learning
Start learning now
Articles
Authors
All groups
All Articles List
CodeGym
/
Java Blog
/
Java Classes
Java Classes
346 members
Leaderboard
Popular
New
Old
Jesse Haniel
Java Classes
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...
Volodymyr Portianko
Java Classes
20 October 2020 13:24
Constructor Chaining in Java
A constructor in Java is a specific method used in object creation of a class. The constructor is invoked every time an object of the class is created. It can be used to assign values to the properties of the object at creation time. There can be multiple constructors...
Alex Vypirailenko
Java Classes
18 August 2022 10:58
UML Class Diagram
I think everyone has heard the saying "Measure twice, cut once". It's true advice in programming. It's always better to think about the implementation before you spend any time carrying it out. During implementation, you often need to create classes and think up how they will interact...
Alex Vypirailenko
Java Classes
7 February 2023 12:54
Java Inner Classes
In Java some classes can contain other classes within them. Such classes are called nested classes. Classes defined within other classes generally fall into two categories — static and non-static. Nested non-static classes are called inner...
Jesse Haniel
Java Classes
5 August 2022 7:32
Java.util.Random class
The java.util.Random class is used to generate pseudorandom numbers. The methods implemented by this class are used to generate different random data types such as int, double, and float...
Pavlo Plynko
Java Classes
22 August 2022 9:37
Java Abstract Method and Classes
Abstract methods are a powerful tool of Java and give this object-oriented language even more capabilities when it comes to polymorphism. A Java abstract method can be used to create a basic framework for an entire program and enable you to adjust as needed. An abstract method is a method that has no...
Pavlo Plynko
Java Classes
28 August 2020 7:13
Java.Awt.Color Class
If you are mastering Java Abstract Toolkit, you will have to learn the applications of Java AWT Color Class. Since there are a lot of constructors and methods involved, it might feel intimidating at first. But no worries, we got you covered:) With this full rundown on Java AWT Color, you’ll learn...
Oleksandr Miadelets
Java Classes
24 May 2023 10:59
Java Timer Class
The Java Timer Class is a powerful tool that allows you to schedule tasks to be executed at specified intervals. Whether you need to run a task once or repeatedly, the Timer Class provides a convenient way to automate...
John Selawsky
Java Classes
26 January 2022 8:32
Java.util.Date Class
What is java.util.Date Class? The java.util.Date class provides the date and time in java. This class provides constructors and methods to use the current date and time. To use this class in your code you...
John Selawsky
Java Classes
18 March 2022 15:16
Java.lang.Integer Class
Java data types can be conditionally divided into two blocks: primitive and reference (classes). There are several primitive data types in Java, such as integers (byte, short, int, long), floating point numbers (float, double), logical data...
Alex Vypirailenko
Java Classes
28 April 2023 10:48
What is a static class in Java?
Java is an object-oriented programming language, and objects are the main building blocks in Java. However, Java also provides the concept of a static class. A static class is a class that can only contain static methods...
1
2
Please enable JavaScript to continue using this application.