Promotion
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
Oleksandr Miadelets
Inheritance in Java
24 April 2025 16:34
Inheritance in Java
Java is an object-oriented language. This means that everything in Java consists of classes and their objects, and obeys the paradigms of OOP (object-oriented programming). One such paradigm is inheritance, a mechanism in Java by which one class is allowed to inherit...
Milan Vucic
Java Types
24 April 2025 11:26
Char Data Type in Java
The char data type in Java is a primitive type that holds a single character, like a letter, digit, or symbol. It's stored in 16 bits (2 bytes), unlike some languages that use 8 bits, giving it room for 65,536 possible values
Oleksandr Miadelets
Java Arrays
24 April 2025 10:35
Java Arrays
Imagine cabinets in a storage room. Each of them has its own number, and each of them stores some Baggage object. Or a wine list where every kind of wine is numbered and you order by giving the number of your drink. Or a list of students in which "Adams" is recorded in the first position and "Zimmer" is last...
Milan Vucic
OOP Java
24 April 2025 9:15
Encapsulation in Java
Hi! We'll devote today's lesson to Encapsulation in Java and begin with examples right out of the gate:) Here you have an ordinary soda dispensing machine. I've got one question for you: how does it work? Try to give a detailed answer: Where does the soda come from? How is the internal temperature maintained?
Aditi Nawghare
Java Arrays
23 April 2025 17:20
Arrays Class in Java
Hello again! :) In the last lesson, we got to know such a data structure called an array. We learned how to create them and fill them with data. And we looked at how they're stored in memory. Today we'll look at some tasks and examples of working with arrays that you will often see in real work ...
Jesse Haniel
OOP Java
23 April 2025 9:52
Java Polymorphism
OOP-related questions are an integral part of the technical interview for a Java developer position in an IT company. In this article, we will talk about one principle of OOP – polymorphism. We'll focus on the aspects that are often asked about during interviews, and also give a few examples for clarity...
Vasyl Malik
Random
23 April 2025 9:22
Reference Variable in Java
So, what's a reference variable in Java? It's not what you might think at first. Unlike primitive variables that hold actual values like an int stashing a number reference variables are more like treasure maps
Pavlo Plynko
Java Classes
23 April 2025 8:37
Java Abstract Class (Abstraction in Java)
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...
Alex Vypirailenko
Random
22 April 2025 6:48
Infinity in Java
You remember those wild math class debates where the teacher would go, "Infinity's not a number, it's a concept"? Used to drive me nuts trying to wrap my head around it. But in Java, infinity's not just some abstract idea—it's a real thing you can mess with in your code
Oleksandr Miadelets
Core Java
22 April 2025 6:19
NaN in Java
In Java, “NaN” stands for “Not a Number”. It is not a type of exception, rather surprisingly, the datatype of NaN is also a number. But often when novice programmers get it unintentionally, they further use it in their calculations. Hence, incompatible data types in Java...
Oleksandr Miadelets
Random
21 April 2025 9:44
Java Classes and Objects
A Java class is like a blueprint for a house. It spells out the design—walls, windows, doors—but it's not a house you can live in. Classes define: Properties (attributes or fields) – what the object knows Methods (functions) – what the object can do Constructors – special methods that create new objects
Artem Divertitto
Java Types
21 April 2025 8:51
Java Type Casting
What is Type Casting in Java? A data type is a predefined set of values that specify the type of values that can be stored in it along with the operation that can be carried out on them. The Java Type Casting is a process by which one data type is converted to another...
Show more
1
2
3
...
74
Please enable JavaScript to continue using this application.