life is too short for a diary



Posts Tagged: java (Page 3)

Types in Java

Java is a statically typed language , which means that every variable, method parameter, and expression must have a defined type known at compile time. This helps catch errors early and improves code reliability...

Continue reading → java



Mastering Parameterized Tests in JUnit 5 with Spring Boot

Want to test smarter, not harder? Parameterized tests let you run the same test with multiple inputs. In this guide, we'll dive into JUnit's `@ParameterizedTest` using `@MethodSource` and `@CsvSource`, plus how to hook it all into Spring Boot...

Continue reading → java spring boot



Mastering JSON in Java using Jackson

JSON(Javascript Object Notation) is the universal language for data exchange in modern applications, particularly when working with REST APIs. In Java, Jackson library is often used for JSON processing. ..

Continue reading → java