P19 - Decision making statements (if & if else) in java | Core Java | Java Programming |
ฝัง
- เผยแพร่เมื่อ 8 ก.ย. 2024
- In this video, I have explained about "Decision making statements (if & if else) in java".
Points covered in this video:
❇️ What is a decision making statement?
❇️ Different types of decision making statement in java
❇️ Syntax for If , if-else, nested if statements in java
❇️ Hands on experience with If , if-else, nested if statements in java
❇️ Are the curly brackets mandatory while writing the if or if-else or nested if statements?
🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶
▶ Next Video link: • P20 - Decision making ...
◀ Previous Video Link: • P18 - How to get the u...
📒 Assignment video link: • Core Java - Assignment...
↔ Core Java in Telugu Playlist link: bit.ly/3KMlbBk
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
===================================
===================================
Connect me @
🔗 Website - www.hyrtutoria...
🔗 Telegram - t.me/hyrtutorials
🔗 Facebook - / hyrtutorials
🔗 LinkedIn - / hyrtutorials
🔗 Twitter - / hyrtutorials
🔗 Instagram - / hyrtutorials
===================================
===================================
🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
#hyrtutorialstelugu #selenium #java #telugu
↔ Core Java in Telugu Playlist link: bit.ly/3KMlbBk
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
sir,scanner ane object ni use cheskoni as a user ga manam system ki input anedi istunam right??????,ala chestu code ni manam pratisari self ga run cheskuntu undala,leka automatic ga input ichina tarvata just enter nokkadam dwara code run avdaniki chances unnaya sir???????,ala automatic ga run avvadani emaina piece of code unda sir?????????
@@eswararaopogiri9203 deeni kanna mundu scanner class meeda oka video untundi adi chudu buddy once
Anna make a video on printing patterns please
Patterns programs anedi oka concept em kaadu buddy. its just the logic and daantlo use chese concept vachesi conditional and looping statements he. so avi correct ga nerchukoni logical skills improve cheskunte pattern programs cheseyochu buddy
Bro patterns meedha oka video chey bro entha chesina ardham avuthaledhu asalu plzz
thank you so much!
you're the person who proved education is not the business.
Thanks buddy 🙂
@@HYRTutorialsTelugu anna conditional operators ante nuvu AND and OR chepau nuvu tisukundhi relational operators kadha evi relational operators kadha
@@HYRTutorialsTelugu anna nuvu int value tisukunapudu just variable ni tisukunau kani string dagaraki vache sariki varible tisukunau mali ==pass ani tisukunau just exam status pass ani tisuko vachuga
@@user-nh9gv2xf4n Video lo correct ga ne cheppanu kada relational operators and conditional operators. a time lo neeklu aa confusion anipinchindi buddy?
buddy nenu nee comments anni chusthunna and i feel that nuvvu chala video ni skip chesi direct ga part 18 nundi chusthunnattu anipisthundi. ee playlist ni starting nundi ekkada skip cheyyakunda chusthene nenu cheppe ee course ni baaga ardam cheskochu buddy. enduku ante indulo everything is designed in a proper flow.
ur explanation was far better than my subscription course
Thanks buddy 😊
Yes bro ❤
Same feeling
Thank you so much! bro....
you're the person who proved education is not the business.
Thanks buddy 😊
Sir i done my assignment
I got the out put
Thank you for your explanation sir
Thanks buddy 😊
One of the best Java courses on TH-cam. Your teaching style is exceptional. I am grateful for the useful course you have provided and I am hoping to find new tutorials in the future. Spending time on this course is a worthwhile investment. This is something I will recommend to everyone. Thank you once more.
Happy Learning buddy 🙂
Bro. Tq tq so much 10 videos chusa 15 years exp valu chepina naku adremkaledu mi video tho 10 mins lo adremindi super super
Super buddy
Hello HYR , Your teaching skills are exceptional, and attention to detail. Really appreciate all your efforts and support. Thank you and Remain Blessed.
Thanks buddy 🙂
I have done my assignment and I got the results perfectly Good Explanation Sir👏👏
Super buddy
fantastic bro , no need to take any online live courses ...its enough to make a hands-on practice and do possible errors and trouble shoot it thank you
Yes buddy
Bro really awesome your explanation & examples.. easy to understand...great help to like me people. Thankyou so much Bro.
Thanks buddy 😊
telugu lo videos chestunanduku chala dhanyavadamulu anna
Vaatini chusi encourage chesthunnanduku kooda chala dhanyavadamulu buddy
TQ so much for detailed explanation sir,I'm really love with these videos explanation
Happy Learning buddy 🙂
Hi sir,No words are enough to speak about your teaching .You are doing such a great job with free of cost . Hardwork behind the camera is extremely too good ..Very understandable classes..I never saw such a talented person like you ..Thank you so much sir from bottom of my heart
Thanks buddy 😊
Thankyou soo much sir,
Maku elanti doubts osthayo kuda mundhu guess chesi,chala clarity ga explain chestunnaru..
Nenu recent ga KPHB lo 25k pay chesa (Javafullstack course) kaani use ledhu valu doubts kuda sarigga explain cheyatledhu...
Naku asalu ee full stack ante enti em em concepts vuntai ani kuda valu cheppaledhu valu 25k waste cheskunna...
But mee classes chusaka nak ippudu nammakam ochindhi nen cheyyagalanu ani...
Thankyou soo much sir......❤😍
Institute gurinchi munde enquiry cheyyaledu ha buddy?
You are perfect brother😍, very neat explanation.
Thank you so much buddy 😀
You are teaching in perfect way sir
Sir normal ga notepad lo chesinadaniki next line method avvadha
Good,simple and informative video
Expecting more from you sir!
Thanks buddy 😊
ANNA ENTHA CLEA GA COACHING CENTERS LO KUDA CHEPPARU
NUVVU SUPER ANNA
THANK YOU VERY SO MUCH ANNA
Hi sir,
I am Hrushikesh from 9th Standard.
I watched this video today and understood clearly if-else and if conditions.
I completed the assignment which was given by you in the video.
I am sharing my code with you. Please review it and give me suggestions.🙏🙏
Your loving buddy🙂
Assignment 2:
________________________________________________________
package mydemo;
import java.util.Scanner;
public class Studentresult {
public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
int marks;
System.out.println("Please enter student marks: ");
marks=scanner.nextInt();
if (marks=35 && marks=71 && marks
Good buddy
Sir....meru chala Baga tech chestunnaru......Baga artham avvuthundi
Thanks buddy 😊
clear and neat explanation...thank you bro😍
Thankyou buddy 😊
Bro maa institutekante Meeru chesina half on hour explanation chaala bagundhi sir clearga ardham avuthundhi ❤
Thanks buddy 😊
You are amazing sir ☺️❣️❣️... thank you so much 💞
Thanks buddy 😊
Erojititho e class paina purthi avagahana vachindi excellent bro
Super buddy
Keep teaching bro 👌👍 don't stop
Sure buddy
hello sir meela enthavaraku intha clearga evaru explain cheyaledu thank you very much for your videos sir.
Thankyou buddy 😊
every class is a masterpiece
Thanks buddy 🙂
super excellent explanation sir tquuuuu very much for this all vedios
Thanks buddy 🙂
Hi sir,
I am Hrushikesh from 9th Standard.
I watched this video today and understood clearly if-else and if conditions.
I completed the assignment which was given by you in the video.
I am sharing my code with you. Please review it and give me suggestions.🙏🙏
Your loving buddy🙂
____________________________________________________________________________
package mydemo;
import java.util.Scanner;
class hrushi {
public static void main(String []args){
Scanner scanner=new Scanner(System.in);
int inputvalue;
System.out.println("Enter a number: ");
inputvalue=scanner.nextInt();
if ((inputvalue%2)>=1 ) {
System.out.println("The given number is odd!");
}
else {
System.out.println("The given number is even!");
}
}
}
Good buddy
Bro Naalanti Poor Persons Ki Chala Help Full Ga Undi...
i.e is Who cannot afford money for Learning A Language
Baaga nerchukoni tvaraga job kottei buddy
Thank you so much for your videos. They are really helpful. Please don't discontinue.
Happy Learning buddy 🙂
Thanks for sharing your knowledge
And thanks for commenting every one's comment that shows how much value you give for subscribers and there comments 🙏🙏♥️
Happy learning buddy 😊
Every one i will the information thank you so much brother super explanation
Thanks buddy 🤩
Thanks bro .. very good and clear explanation.. assignments also completed . But programming to errors vasthe mimalni adagadam Ela ? .. user input console lo I have small doubt . Do we have any other medium to discuss on assignments? .. Any way thanks for this videos which keeping me motivation to study everyday
Thankyou for liking buddy.
you can mention your doubts here only.
So that if anyone else is getting the same doubt, they can refer to the existing comments and understand that.
I have a dought on it, manam scanner ni call chesinappudu string use chesi printf statement use chesam kada direct ga appudu direct ga println use chesi ela rayali...
u r one of a kind person.. helping poor people..
Thanks buddy 🙂
Hi Yadagiri Reddy, Thanks a million for your efforts in creating all this tutorials. These are changing lives of thousands of people. Very clear and meticulous explanation. I have a doubt regarding the 2nd assignment in this tutorial, if marks==35 the out put is pass and if the marks range is 35-70 third class....how to display both pass and third class ? or did you mean >35 is pass...
also 70 cannot be in both second and third class right?
Thanks buddy 😊
I meant >35
👍 thanks for your lovely help 🙏
import java.util.Scanner;
public class passOrFail {
public static void main(String[] args) {
Scanner sc= new Scanner(System.in);
System.out.println("Please Enter your marks to know your grade");
int input=sc.nextInt();
if(input35&&input70&&input85&&input100) {
System.out.println("You entered wrong marks");
}
sc.close();
}
}
💯 correct Buddy
The way you explained is 😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮😮excellent, thanks a lot sur❤❤❤❤❤
Thanks buddy 😊
public class Exam {
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
System.out.println("enter student marks");
int marks = sc.nextInt();
if(marks35 &&marks 70 && marks85)
{
System.out.println("first class");
}
}
}
Correct buddy
Hello sir, sir if in if chepparu
Meeru else if in if chesaru what is the difference cheptara sir
@@anuradhakuppili9457 rendu same he buddy. both are called nested if only buddy
tq bro, nennu malli second time classes vintunnanu, i love u r teaching bro
Thanks buddy 😊
Am from non it but am working in java but not understanding what am doing but when I started watching your video am learning well bro thank you so much for teaching
That's good to hear buddy
No words... Ur way of explanation excellent
Thanks buddy 😊
Your teaching style is exceptional.
Thanks buddy 🙂
Bro thanks is a small word to say your classes are simply super we can understand easily i have a fear of coding (java) with your classes i feel i can learn easily
Thanks buddy 🙂
Hi ,
Completed all three tasks and understand the difference between == and .equal() method
Super buddy
Thank you ❤❤❤ sir ❤❤❤
Happy Learning buddy 🙂
Chala super gaa explain chesaru sir God gives to you good health to you brother
Thanks buddy 😊
Sir explanation is very clear , Yahh I learnt a new concept and will practice for sure Thank You sir
Thanks buddy 😊
Thank you so much sir, chala baga arthamavuthundhi sir concept.
Thanks buddy 😊
Hi anna,
super ga cheptunnaru anna , im new to coding learning from basics. your videos are best
Super buddy
Excellent teaching sir,iam big fan of the way you teach sir,Thankyou very much for your java course vedios sir, it is very useful to us sir
Thanks buddy 🙂
Good Explanation
Tq bro, excellent skills in teaching, u provide the best content
Thanks buddy 🙂
Thankyou sir your videos helpful
The best class on core java. Thanks alot sir.
Thanks buddy 😊
Tq sir i am able to write programs in my own becoz of your lectures
Thats great buddy
Chaalaa baaga artham avthondi brother thank you
Happy learning buddy 😊
Thank you so much for your videos sir. It's really helpful
wow ,super, excellent teaching sir this type teaching anyone can learn and giving confidence to us
Thanks buddy 😊
u r the best, i liked ur way of explanation. thank god that i found ur channel at ryt time. lots and lots of love
Thank you so much buddy
Your way of teaching is awesome
Thanks buddy 🙂
good explanation sir
Tq anna mee lanti vallu vundatam chaala rare anna ❤
Thanks buddy 😊
your way of explanation is excellent bro. keep going
Thanks buddy 😊
Very easy way to learn this watching videos thank u so much sir
Happy learning buddy 😊
Your teaching is very great and easy to learn from ur teaching, do more videos on python course
Thanks buddy 😊
great, worked again based on ur suggestion and it is fine now
package com.hyr.assignments;
import java.util.Scanner;
public class Assignment3 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Enter the day");
String day = scanner.nextLine();
if (day.equals("monday") || day.equals("tuesday") || day.equals("wednesday") || day.equals("thursday") || day.equals("friday") ) {
System.out.println("Uah, it's a weekday");
}
else if (day.equals("saturday") || day.equals("sunday") ) {
System.out.println("You enterd " + day);
}
scanner.close();
}
THANK YOU SO MUCH
Good buddy
Sir your way of explanation is excellent sir
🌟🌟🌟🌟🌟
Thanks buddy 😊
THANKS A LOT SIR UR VEDIOS ARE HELPING ME A TO GROW MY CAREER IN IT SECTOR AS IM A FRESHER
That's good buddy
super bro thank you so much
explanation chala neat ga undi....
but alage interviev base ga konni questions kuda cheppu bro
Thankyou buddy
Course motham perfect ga nerchukunte interview ki inka special questions avasaram ledu buddy
Sir data structures consept meda videos cheyyandi sir me explanation chala bagundhi chala clear chepputunnaru
Chesanu buddy already
Thanks anna...chala clear ga cheptunnaru..
Thanks buddy 😊
It's a great explanation!!
Hoping to see more videos!
every class is a fantastic bro
Thank you so much! bro..
Happy Learning buddy 🙂
Explanation simple and super
Thanks buddy 😊
Thank you very much for being those videos. it was very helpful of us.we need threads concept please make that video sir
Soon will make that video buddy
One of the best teachers in my career sir.... explaining concepts crystal clear....you have good patience now a days seeing very rare....after this java course are you planning any other course sir? And web development or data science or cloud which is better to learn???
Thanks buddy 🙂
Superb brother...Clear explination.... I understood the concept
Thankyou buddy 😊
Fantabulous way of training . Thank you
Thanks buddy 😊
your videos are very useful,Thanck you very much
Thanks for liking buddy 😊
so very great content and it is very clear .....................................................😍😍😍
Thanks buddy 🙂
THANK YOU SIR FOR CLEAR EXPLINATION AND GIVING PRACTICING ASSIGNMENTS
Happy Learning buddy 🙂
Awesome and clearcut explanation
Thanks buddy 🙂
Super Brother your explanation is very nice and very good.
Thanks buddy 😊
Your explanation is very helpful 👌
Thanks buddy 🙂
Thank you sir
Happy learning buddy 😊
Very good explanation 😊
Thanks buddy 😊
keep teaching us bro we need your teaching. thank you bro😊
Thanks buddy 😊
Oops concepts kuda cheppandi sir,thank God u are here to help me,,u r my hero...
Thanks buddy 😊
I got clarification on if else and nested conditions thank you
Super buddy
Thank you sir your videos are helpful 🙂
Happy Learning buddy 🙂
Your way of explain is very good awesome , please continue..
Thankyou buddy, sure i will continue
Thank u for making clear vedios sir,my request methodoverloading,polymorphisam,inheritance kuda cheppandi
Sure buddy
keep continue these videos we are able to undestanding easily
Thankyou buddy 😊
Keep watching and keep supporting
nice explain
Thanks buddy 🙂
Sir in the program we gave a input "pass" but I write program like this but input is given by user it is not work y
class Dcoder
{
public static void main(String args[])
{
String examStatus = "pass";
Scanner s = new Scanner(System.in);
System.out.println("are youpass or fail in exam ");
if (examStatus =="pass")
{
System.out.println("qualified to next round");
System.out.println("are you pass inthe round1");
String nextr= s.nextLine();
if(nextr== "fail")
{
System.out.println("you got job");
}
}
else if(examStatus =="fail")
{
System.err.println("disqualified");
}
}
}
Output:
are youpass or fail in exam
qualified to next round
are you pass inthe round1
pass
Process finished.
your videos are really helpfull sir good explanation
Thankyou buddy
Bro your explanation is vere level
Thanks buddy 😊