Thread Reader
Share this page!
×
Post
Share
Email
Enter URL or ID to Unroll
×
Unroll Thread
You can paste full URL like: https://x.com/threadreaderapp/status/1644127596119195649
or just the ID like: 1644127596119195649
How to get URL link on X (Twitter) App
On the Twitter thread, click on
or
icon on the bottom
Click again on
or
Share Via icon
Click on
Copy Link to Tweet
Paste it above and click "Unroll Thread"!
More info at
Twitter Help
Jose Mejia
@JoseMejia62
Software engineer intern @ Hometrack helping to build a Mobile app with React Native.🇺🇲🇳🇮 | Java | JavaScript | React | React Native | Next| node
Subscribe
Save as PDF
Sep 24, 2021
•
4 tweets
•
2 min read
✅Java Loops
Loops executed the code as long as the condition is true. They are very useful to repeat a block of code.
There are a couple of loops. I will focus on the two most use.
👇
👉while
👉for
Let's see them in more detail
👇
#Java
#100DaysOfCode
while 👉 use a while loop when you don't know how many times you want to execute the code.
for 👉 use the for loop when you know how many times you want to execute the block of code.
Example👇while and for loop
#Java
#100DaysOfCode
Save as PDF
Sep 23, 2021
•
4 tweets
•
3 min read
✅Java If statement
if statements are combined with logical conditions. Here is a thread about them so you can have an idea of what they are.
if statements allow us to make different actions and make different decision base on a logical test.
#Java
#100DaysOfCode
cont...
https://twitter.com/JoseMejia62/status/1439854350130581508
✅Now let's take a look at the different conditional statements.
if👉 executed if condition return true
else 👉 executed if the if condition return false
else if 👉new condition if first condition return false.
example 👇
#Java
#100DaysOfCode
Save as PDF
Sep 22, 2021
•
6 tweets
•
4 min read
✅Java
✅String manipulation
Strings are a collection of characters. The keyword String is an object and comes with a lot of useful methods to manipulate a text.
Let's see some of the basic
👇
#Java
#DEVCommunity
#100daysofcoding
✅The basic method to manipulate a String
length() - return the number of characters that the text contain
toUpperCase() - it will change the text to capital letters
toLowerCase() - it will change the text to lower case
concat() - it adds two strings together.
Ex.👇
#Java