At 6:21 is says you got the 2nd password but has still returned the "false" back. Is it supposed to be like this and if not how do we change to ensure its correct and returns true like the first did?
I probably have seen this kind of same thing in other languages, but you just made me realize that being able to attach those methods on top of each other to a string is insanely powerful. Thanks a million!
NICE sneaking in with the method chaining in the last minute of the video! I've been having issues with that but within 60 seconds you made it simple to understand! You're awesome Caleb!
At 6:21 is says you got the 2nd password but has still returned the "false" back. Is it supposed to be like this and if not how do we change to ensure its correct and returns true like the first did?
At 6:21 is says you got the 2nd password but has still returned the "false" back. Is it supposed to be like this and if not how do we change to ensure its correct and returns true like the first did?
At 6:21 is says you got the 2nd password but has still returned the "false" back. Is it supposed to be like this and if not how do we change to ensure its correct and returns true like the first did?
Hey bro i have the following problem : no matter what i do i cant use else it says error expecting me to put ; after the else (example) if i put { } here as i do it brings a red underline between else and the {
@@Patrick-cz3pb At 6:21 is says you got the 2nd password but has still returned the "false" back. Is it supposed to be like this and if not how do we change to ensure its correct and returns true like the first did?
import java.util.Scanner; public class MyClassOne { public static void main (String[] args) { // method e System.out.println("What is your name?!");
Scanner scanner = new Scanner(System.in); String name = scanner.nextLine();
if(name.contentEquals("Bene")) { System.out.println("Welcome my boi"); }else if(name.contentEquals("Daniel")) { System.out.println("be gone peasant"); }else { System.out.println("How do you use the three sea shells?"); } } } I was almost always one of the guys who liked if statements so much more :D
IF ELSE, I now understand as it works the same in C++ as it does, I would imagine in all computer languages. but what the hell is an "Apple Crisp" ? Is just thinly sliced apples deep fried and then seasoned with salt , like our potato crisp's ?
Hey guys, i'm currently using VISUAL STUDIO for Java developing, and i found this out: if (password.equals(guess.toLowerCase())){ is the exact thing as using if(password.ToLowerCase().equals(guess.toLowerCase())){ Try that out, for me it works, and it makes it easier to use, since you're saving to type one method and the result is the same.
Well, theoretically you could do that its just harder to read the syntax, if you were getting interviewed for a job they would probably rip your eyes out.
Do Java FX i have my own project for that and for myself only Sorry for spamming I just admire your way of explaining things It just like from lynda dot com Im from intro from 7 in the morning to now is 10:20 Please
Learn Javascript - bit.ly/JavaScriptPlaylist
Learn Java - bit.ly/JavaPlaylist
Learn C# - bit.ly/CSharpTutorialsPlaylist
Learn C++ - bit.ly/CPlusPlusPlaylist
Learn C - bit.ly/CTutorialsPlaylist
Thank you for the video, great work. Appreciate your work.
At 6:21 is says you got the 2nd password but has still returned the "false" back. Is it supposed to be like this and if not how do we change to ensure its correct and returns true like the first did?
and I what i love more with caleb is that he always finds a different transition to introduce pramp LOL just amazing
I probably have seen this kind of same thing in other languages, but you just made me realize that being able to attach those methods on top of each other to a string is insanely powerful. Thanks a million!
NICE sneaking in with the method chaining in the last minute of the video! I've been having issues with that but within 60 seconds you made it simple to understand! You're awesome Caleb!
I love how you shift the topic to Pramp naturally 🤣🤣🤣👍🏻
Hey Caleb, wouldn't you just be able to go with equalsIgnoreCase at 6:30, rather than having to set everything to lower case?
7:01 you can use *equalsIgnoreCase()* instead of this mess
Day 2 🙌 Done 19 out of 100, 81 more to go let's go! 🔥
you did it so simple, i remembered everything
wow , the Case changing ones on the password is very useful
At 6:21 is says you got the 2nd password but has still returned the "false" back. Is it supposed to be like this and if not how do we change to ensure its correct and returns true like the first did?
YandereDev be like:
else if
else if
else if
else if
else if
I can't believe more people didn't say this
At this point I look forward to his different Pramp lead-ins 😅
Thanks a lot man because of this I can pass subject
Hi Caleb, you explain lots of things in detail, thank you so much!
THANK YOU FOR THIS FINALLY IT MAKES SENSE
At 6:21 is says you got the 2nd password but has still returned the "false" back. Is it supposed to be like this and if not how do we change to ensure its correct and returns true like the first did?
How do we do " y=Ix-1I "for if else statement?I couldnt find many people use Math.abs code but I wonder how about work if else statement ?
aaand of course, the java FX guy is here.
thanks for the video.
Does anyone see that false? On the 2nd password?
At 6:21 is says you got the 2nd password but has still returned the "false" back. Is it supposed to be like this and if not how do we change to ensure its correct and returns true like the first did?
where is the oops Concept? Please upload that
I wanted to learn about else if, else, and if statements instead I learned about other commands that I'm not used to looking at. Great. -_-
Hey bro i have the following problem : no matter what i do i cant use else it says error expecting me to put ; after the else (example) if i put {
} here as i do it brings a red underline between else and the {
It should have an expression inside the else like this.
else{
System.out.println("your text here");
}
Or probably you put an extra "{ }"
@@Patrick-cz3pb At 6:21 is says you got the 2nd password but has still returned the "false" back. Is it supposed to be like this and if not how do we change to ensure its correct and returns true like the first did?
oh man, when I will switch workplaces sooner or later, prem is definitly burned in my head :D
import java.util.Scanner;
public class MyClassOne {
public static void main (String[] args) { // method
e
System.out.println("What is your name?!");
Scanner scanner = new Scanner(System.in);
String name = scanner.nextLine();
if(name.contentEquals("Bene"))
{
System.out.println("Welcome my boi");
}else if(name.contentEquals("Daniel"))
{
System.out.println("be gone peasant");
}else
{
System.out.println("How do you use the three sea shells?");
}
}
}
I was almost always one of the guys who liked if statements so much more :D
when i type else there an error.
me too
@@luceroanimations5913 i fixed it lemme tell u, so my issue was with the "}" symbol, i didnt put it in the correct place
When I put the else in, it gives me an error? Why is this, I have the exact same code
Go to the problems tab at the bottom. You most likely have an extra curly brace at the bottom of your program
There is also a possibility that you have a semicolon after the if statement.
IF ELSE, I now understand as it works the same in C++ as it does, I would imagine in all computer languages. but what the hell is an "Apple Crisp" ? Is just thinly sliced apples deep fried and then seasoned with salt , like our potato crisp's ?
Hahahah it is baked apple slices with cinnamon, sugar, and oats.
@@codebreakthrough i have those in school
mango bloods
Hey guys, i'm currently using VISUAL STUDIO for Java developing, and i found this out:
if (password.equals(guess.toLowerCase())){
is the exact thing as using
if(password.ToLowerCase().equals(guess.toLowerCase())){
Try that out, for me it works, and it makes it easier to use, since you're saving to type one method and the result is the same.
It doesn't work in Eclipse
Well, theoretically you could do that its just harder to read the syntax, if you were getting interviewed for a job they would probably rip your eyes out.
it's
if () {
} else {
}
all the other ways are wrong
to be honest, I will never use pramp
Please show your dog sometimes haha
Please keep sending this to yanderedev.
apple crips
Sorry caleb the sponsor ad is 40seconds long 😂
Do Java FX i have my own project for that and for myself only
Sorry for spamming
I just admire your way of explaining things
It just like from lynda dot com
Im from intro from 7 in the morning to now is 10:20
Please
Yandere dev
apple crips