CodeGym University
Java FullStack
Learning
Courses
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 Numbers
Java Numbers
244 members
Leaderboard
Popular
New
Old
Pavlo Plynko
Java Numbers
May 9, 2023 at 9:05 AM
Increment and Decrement Unary Operators in Java
Unary operators are those operators in Java that only need a single operand to perform any function. They work on the same principal as unary operations in mathematics...
Alex Vypirailenko
Java Numbers
February 5, 2025 at 12:18 PM
Java isDigit method
Methods that return a boolean value most often begin with the word “is” and mean checking if the element being checked matches a certain condition. The Character.isDigit() method, that we are going to discuss in this article...
Alex Vypirailenko
Java Numbers
January 4, 2025 at 12:07 PM
Integer Division Java
Division in Java takes place normally like regular division in mathematics or real life. However, it just discards the remainder. For example, if you divide 9 by 2 the quotient is 4 and the remainder is 1...
Oleksandr Miadelets
Java Numbers
December 24, 2021 at 10:50 AM
Java BigInteger Class
There are some primitive data types in Java that are used, such as int or long, to perform integer operations. However, sometimes we need to store large numbers outside the scope of such primitive data types. BigInteger Class is used...
Pavlo Plynko
Java Numbers
October 27, 2021 at 12:43 PM
How to convert int to double in Java
int is a primitive Java type for integer numbers (such as -25, 0, 1828182845). This type uses 32 bits to store a variable value. The range of int numbers is from -231 to 231 - 1 or, which is the same, from -2147483648 to 2147483647. Double type in Java represents...
Volodymyr Portianko
Java Numbers
May 18, 2021 at 1:54 PM
Java Convert Double to String
The primitive data type “double” in Java is used to store decimal numbers with a higher level of precision of upto 15 digits. While “float” provides 6-7 digits of precision, “double” is more widely used for higher precision of calculations and measurements...
Volodymyr Portianko
Java Numbers
April 30, 2021 at 5:56 AM
How to Square a Number in Java
What is the “square” of a number? In mathematics or algebra, you can find the “square” of a number, by multiplying the same number with itself. For example, the square of 2 is 4, and the square of 3 is 9. How to square a number in Java? There are different ways of computing the square...
Vasyl Malik
Java Numbers
April 7, 2025 at 12:37 PM
Java Operators
I'll never forget my first tangle with Java operators. Picture me in my college dorm, Mountain Dew can sweating on the desk, feeling like a coding king because I'd just nailed "Hello World." Then my prof hits us with this assignment—arithmetic, logical, bitwise operators
1
2
Please enable JavaScript to continue using this application.