Explore several methods for converting decimal numbers to fractions, including using the GCD approach.
Also find me here:
Baeldung Author
Wynn Teo
I’m Wynn, a Full-stack Developer with a 10+ years of experience. I began my journey in the tech world during my university days in Singapore, and coding has been my passion ever since. I enjoy learning, especially when it comes to all things tech. The journey of gaining knowledge is what keeps me going.
Here's what I've written (so far):
Baeldung on Java
- All
- JPA (9)
- Spring Data (6)
- Java Concurrency (6)
- Persistence (5)
- Java IO (5)
- Java (4)
- Web Services (3)
- Spring (3)
- Java Numbers (3)
- Java List (3)
- Java Array (3)
- HTTP Client-Side (3)
- Testing (2)
- Spring Boot (2)
- Networking (2)
- Java String (2)
- JSON (2)
- Data (2)
- Core Java (2)
- Algorithms (2)
- Security (1)
- REST (1)
- NoSQL (1)
- Java Map (1)
- Java Dates (1)
- Java Collections (1)
- Cloud (1)
Finding the Next Higher Number With the Same Digits
Filed under Algorithms
Learn how to find the next higher number with the same set of digits as the original number in Java.
Check if a Number Is Power of 2 in Java
Filed under Java
Explore a few ways to determine if a number is a power of 2 in Java.
Finding the Second Smallest Integer in an Array in Java
Filed under Java Array
Explore a few approaches to finding the second smallest number in an array.
Convert an Optional to an ArrayList in Java
Filed under Java List
Explore various approaches to converting Optional to ArrayList.
Inheritance vs. Composition in JPA
Filed under JPA
Explore the fundamental differences between inheritance and composition in JPA entity modeling.
How to Implement Elvis Operator in Java
Filed under Core Java
Implement the Elvis operator in Java 8 using the Optional class and ternary operator.
Get Nextval From Sequence With Spring JPA
Filed under Spring Data
Explore a few approaches for fetching the next value from a database sequence using Spring Data JPA.
Introduction to Simple Java Mail
Filed under Java IO
Explore the process of setting up Simple Java Mail and learn how to send emails, including attachments and HTML content, handle exceptions, and more.