Hi there! In our previous post, we learnt about Java for loop. In this post, we will go over Java while and do…while loops. Java while loop statement that is used to run a block of code if the number of iteration is not fixed and a certain condition is met. Let’s understand the requiredContinue reading “While & Do While Loops”
Author Archives: 123codingwithme
For Loop
Hi there, let’s look at the Java For Loops! Java has looping statements as part of the control flow statements. There are three different looping statements; for, while, and do while. In this post , we will focus only on the “for loop” statement and the other two will be our learning topics in theContinue reading “For Loop”
WE MADE IT TOGETHER!!! THANK YOU!
112 wildfires have broken out this summer along the Aegean and Mediterranean coastlines. One of them being my family village Orhaniye in Marmaris. My grandfather was born and raised in this village and he was desperately looking for help like many of us! Our country did not have enough resources to control and stop theseContinue reading “WE MADE IT TOGETHER!!! THANK YOU!”
If….Else
Hi, we will go through the Java conditional statements in this post. Java supports if and else statements to run code under certain condition(s) to execute if it is a true evaluation or to skip if it is a false evaluation. This is also called Java control flow statements. This makes sense, right? It basicallyContinue reading “If….Else”
String & Math Methods
Hello everyone! We will be discussing a very important topic which is String & Math Methods. String Methods In Java variables post, String is defined as one of the most used variables and defined like following; String – text, such as “Hi”. String values need double quotes and String keyword should start with a capitalContinue reading “String & Math Methods”
Java Keywords
Java has keywords which are the words that act like keys for the code. However, please note those cannot be used as variable or class or object names. Those are the special words that need to start with lowercase letters. We have already learnt some of them, such as; class, void, int, … etc. AndContinue reading “Java Keywords”
The structure of Java programming
We talked about variables, operators, user input and static keyword so far for java programming. I hope it gives you a good start. In this post, I would like to give you a brief explanation about the typical structure of Java so you can start connecting part of the puzzles together when we continue learningContinue reading “The structure of Java programming”
Static Keyword
The static keyword is used mainly for memory management. We can apply static keyword with variables, methods, blocks and nested classes (defining a class within another class). Examples; //static variables Static int count; //static method Static void x(){} //static block Static{ //code } //static nested class Class main{ Static class nestedStatic{ } } The staticContinue reading “Static Keyword”
IB Assembly Solo Project
Music has been always a part of my life since 6th grade. I study IB music in 11th grade which gives me more opportunities to learn about different cultures’ music. I was assigned a project to perform a solo music and I selected a classical song named, “To a Wild Rose” by Edward MacDowell. ThisContinue reading “IB Assembly Solo Project”
User Input
Hello everyone to today’s post, I will be writing about my favorite classes in Java, which is the Scanner class. Before we start looking into Scanner class, let’s quickly review why we need class and what is the importance of it in Java programming. Method, function and class Java has a set of code whichContinue reading “User Input”
