Wednesday, April 3, 2019

Java(3)---LEARN JAVA: MANIPULATING VARIABLES

LEARN JAVA: MANIPULATING VARIABLES

What this lesson is about...

  In this lesson, it mainly focused on one code which is the double and also the System.out.println().
 Then followed by lots of examples that lets me practice the codes that I have learned from last lesson and the lesson before.


  • The modulo operator %, gives us the remainder after two numbers are divided.
Java has relational operators for numeric datatypes that make booleancomparisons. 

  • less than (<) and greater than (>), which help us solve our withdrawal problem.
  • To check if two variables are not equal, we can use !=
  • We could use greater than or equal to, >=, or less than or equal to, <=
  • Here's another way of printing if two variables are equal or not.

Then it teaches about Strings and the format of typing it.

What I learned in this lesson...


What I'll be doing tomorrow...

I will be moving onto the next lesson which is JAVA: INTRODUCTION TO CLASSES.

No comments:

Post a Comment