Ask your own question, for FREE!
Mathematics 21 Online
OpenStudy (anonymous):

Which is true if-else statements? The if-else statement provides two blocks of code that will both be executed if its boolean expression is true. The if-else statement tries its expression again if its boolean expression is false The if-else statement is similar to the if statement in that it only executes code if its boolean expression is true The if-else statement provides a way to execute code in case its boolean expression is false I think it might be the third one.

OpenStudy (anonymous):

@ddubay28

OpenStudy (anonymous):

I have a question for you.

OpenStudy (anonymous):

yes?

OpenStudy (anonymous):

Why am i helping you if you know all of this anyways?

OpenStudy (anonymous):

I actually meant to say the fourth one but I accidentally typed third lol

OpenStudy (anonymous):

well then that TOTALLY changes every thing.

OpenStudy (anonymous):

By the way its the third one

OpenStudy (anonymous):

I don't really "know" this I'm just guessing at this using my prior knowledge from a completely different programming language. And I only have a week to do the rest of my Java class so I'm trying to cram it all in and it's nice to have a second opinion.

OpenStudy (anonymous):

well I'm glad I can help.

OpenStudy (anonymous):

You sure? I'm looking this http://www.tutorialspoint.com/java/java_decision_making.htm and it seems to me that it only executes the first code if the boolean is true but if it's false then it goes with the second line of code to execute.

OpenStudy (anonymous):

okay then choose that one I'm just telling you my personal opinion

OpenStudy (anonymous):

ok.

OpenStudy (anonymous):

Alright. :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Mari103: How to pop out like a Jacc In the box
13 hours ago 0 Replies 0 Medals
Breathless: Spooky witch but cute
20 hours ago 3 Replies 0 Medals
Arriyanalol: help
19 hours ago 10 Replies 2 Medals
Arriyanalol: @tinydinoUwU stop trying to find a argument u blad lil boy
1 day ago 5 Replies 4 Medals
Jaded012023: Please tell me what you all think of this song
22 hours ago 6 Replies 1 Medal
Arriyanalol: bro how
22 hours ago 2 Replies 3 Medals
Arriyanalol: cant wait for the new bluey movie in 2027
1 day ago 12 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!