---
title: "#variable articles | Hashnode"
description: "Explore 11 articles tagged #variable on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/variable"
---

Tag

# #variable

11 posts · 0 followers

[Tuanhdotnet](https://hashnode.com/@tuananh8) · [Jan 29](https://hashnode.com/posts/ways-to-determine-the-most-recent-date-value-among-multiple-date-variables-in-java/697b21a261de32cd1e3c184b)

### [Ways to Determine the Most Recent Date Value Among Multiple Date Variables in Java](https://tuanhnet.hashnode.dev/ways-to-determine-the-most-recent-date-value-among-multiple-date-variables-in-java?utm_source=hashnode&utm_medium=feed)

In software development, time is woven into nearly everything—logins expire, payroll periods roll over, orders need approval deadlines, and audit logs must understand which event happened latest. At first glance, “finding the most recent date” so...

4 min read · [tuanhnet.hashnode.dev](https://tuanhnet.hashnode.dev/ways-to-determine-the-most-recent-date-value-among-multiple-date-variables-in-java?utm_source=hashnode&utm_medium=feed)

[Tuanhdotnet](https://hashnode.com/@tuananh8) · [Dec 12, 2025](https://hashnode.com/posts/techniques-to-manage-global-variables-in-spring-boot-without-breaking-thread-safety/693bd9a2ccc4059991d92fb9)

### [Techniques to Manage Global Variables in Spring Boot Without Breaking Thread-Safety](https://tuanhnet.hashnode.dev/techniques-to-manage-global-variables-in-spring-boot-without-breaking-thread-safety?utm_source=hashnode&utm_medium=feed)

At first glance, global variables sound convenient — a single place to store data that can be accessed from anywhere in your application. It feels like keeping a sticky note on your monitor with all the values you need. But in a multi-threaded en...

5 min read · [tuanhnet.hashnode.dev](https://tuanhnet.hashnode.dev/techniques-to-manage-global-variables-in-spring-boot-without-breaking-thread-safety?utm_source=hashnode&utm_medium=feed)

[Tuanhdotnet](https://hashnode.com/@tuananh8) · [Nov 7, 2025](https://hashnode.com/posts/strategies-for-resolving-property-placeholder-errors-in-spring-configuration/690db5412e1326b276dd92d6)

### [Strategies for Resolving Property Placeholder Errors in Spring Configuration](https://tuanhnet.hashnode.dev/strategies-for-resolving-property-placeholder-errors-in-spring-configuration?utm_source=hashnode&utm_medium=feed)

In modern Spring-based applications, property placeholders play a crucial role in externalizing configurations, ensuring flexibility, and maintaining clean code. However, developers often encounter property placeholder errors during the developme...

5 min read · [tuanhnet.hashnode.dev](https://tuanhnet.hashnode.dev/strategies-for-resolving-property-placeholder-errors-in-spring-configuration?utm_source=hashnode&utm_medium=feed)

[Tuanhdotnet](https://hashnode.com/@tuananh8) · [Oct 10, 2025](https://hashnode.com/posts/why-you-encounter-nan-errors-in-java-debugging-and-fixing-common-oop-mistakes/68e8cb410f773be7da3f52f5)

### [Why You Encounter NaN Errors in Java: Debugging and Fixing Common OOP Mistakes](https://tuanhnet.hashnode.dev/why-you-encounter-nan-errors-in-java-debugging-and-fixing-common-oop-mistakes?utm_source=hashnode&utm_medium=feed)

NaN (Not a Number) errors in Java can often feel like a mysterious bug that appears out of nowhere and wreaks havoc on your application. This phenomenon frequently originates from subtle mistakes in Object-Oriented Programming (OOP) practices. In...

5 min read · [tuanhnet.hashnode.dev](https://tuanhnet.hashnode.dev/why-you-encounter-nan-errors-in-java-debugging-and-fixing-common-oop-mistakes?utm_source=hashnode&utm_medium=feed)

[Tuanhdotnet](https://hashnode.com/@tuananh8) · [Jul 18, 2025](https://hashnode.com/posts/local-variables-and-method-parameters-in-java/687a0d3b3ca249b07fd8d7ea)

### [Local Variables and Method Parameters in Java](https://tuanhnet.hashnode.dev/local-variables-and-method-parameters-in-java?utm_source=hashnode&utm_medium=feed)

In the journey of mastering Java, understanding the nuances of local variables and method parameters is fundamental. At first glance, they might appear as mere placeholders for storing data temporarily during the execution of a program. However, ...

4 min read · [tuanhnet.hashnode.dev](https://tuanhnet.hashnode.dev/local-variables-and-method-parameters-in-java?utm_source=hashnode&utm_medium=feed)

[Tuanhdotnet](https://hashnode.com/@tuananh8) · [Jun 15, 2025](https://hashnode.com/posts/master-variable-shadowing-and-hiding-in-java-uncovering-key-nuances-and-pitfalls/684e8baa0b687e658a5d08bd)

### [Master Variable Shadowing and Hiding in Java: Uncovering Key Nuances and Pitfalls](https://tuanhnet.hashnode.dev/master-variable-shadowing-and-hiding-in-java-uncovering-key-nuances-and-pitfalls?utm_source=hashnode&utm_medium=feed)

Java, a language rooted in object-oriented principles, provides a structured and reliable foundation for developing complex applications. But with this depth come subtleties that developers must navigate carefully. Two of these nuances are variab...

5 min read · [tuanhnet.hashnode.dev](https://tuanhnet.hashnode.dev/master-variable-shadowing-and-hiding-in-java-uncovering-key-nuances-and-pitfalls?utm_source=hashnode&utm_medium=feed)

[Tuanhdotnet](https://hashnode.com/@tuananh8) · [Dec 23, 2024](https://hashnode.com/posts/master-local-variable-type-inference-in-java-a-guide-to-using-var-effectively/676926cedd972bc46eafb9ca)

### [Master Local Variable Type Inference in Java: A Guide to Using var Effectively](https://tuanhnet.hashnode.dev/master-local-variable-type-inference-in-java-a-guide-to-using-var-effectively?utm_source=hashnode&utm_medium=feed)

Understanding Java’s var for local variable type inference is essential for modern Java programming. Introduced in Java 10, var allows you to simplify your code by inferring the type of a local variable. However, while var can lead to cleaner and...

5 min read · [tuanhnet.hashnode.dev](https://tuanhnet.hashnode.dev/master-local-variable-type-inference-in-java-a-guide-to-using-var-effectively?utm_source=hashnode&utm_medium=feed)
