DDevOpsOnChaininblogs.devopsonchain.com·Sep 23, 2024 · 6 min readJava Arrays and ArrayListIn programming, we often need to store multiple pieces of data. If you wanted to store a list of numbers, names, or objects, you wouldn’t want to create individual variables for each one. That's where arrays and ArrayList come in handy. Why We Need A...00
DDevOpsOnChaininblogs.devopsonchain.com·Sep 18, 2024 · 5 min readUnderstanding Functions/Methods in JavaIn programming, functions or methods play a crucial role in breaking down complex tasks into manageable units. They allow us to write reusable code that can be invoked multiple times without repetition. In Java, using methods ensures cleaner, more ef...00
DDevOpsOnChaininblogs.devopsonchain.com·Sep 17, 2024 · 4 min readMastering Java Switch StatementsWhen developing software, we often need to perform different actions based on specific conditions. For this, the if-else statement is a commonly used control flow structure. However, as the number of conditions grows, especially when checking for mul...00
DDevOpsOnChaininblogs.devopsonchain.com·Sep 16, 2024 · 8 min readConditionals & Loops in JAVALet's suppose we want to display something on the terminal, but only when a certain condition is met. For example, you want to display the message "User entered an even number" on the terminal, but only if the user has actually entered an even number...00
DDevOpsOnChaininblogs.devopsonchain.com·Sep 15, 2024 · 6 min read02 ~ Starting With First Program in JAVAStructure of the JAVA program As we all know from the previous blog that we write our java program in a file with extension `.java` so let’s start how will we write programs in a file. Everything in the source code must be inside a class: What this ...00