Transcript for:
Java Programming Basics

Hello hi everyone how are you all this We bring you the inside video A sizzling new Jawa is available in this 2 Within an hour of video we will tell you basic From relations to the whole Java Will be dealing with programming language And at the end we have given you a note which you can use for your reference If you can, please let us know about your Microsoft Didi and these videos are sometimes for students The student who remembers coding and Get started with keyboard programming now This is the student who smokes cigarettes or digests things I know the language and want to learn it then after watching this video you will be very happy Who all will be applying this code You will be using them on this app in the end If you are making a mini project by doing this then Before we get started, let's start We have already subscribed to the channel The course is full of latest videos development course in which HTML CSS & Javascript has your covered So if you want to learn about technology If you want you can go and refer me So let's start our Java course with half from now Starting coding in Java Before calling us, please first tell us your You need to download one or two things into the system The first of these will be Java development so we'll open our browser and go there and type J were j&k that download So the first Oracle link that comes here By going there we have to download this JDK. Scroll down and click on the option Here we have explained about our different operating systems There will be many options for if You can download it according to that download then we are going to tell you how to download this app It's gonna be downloaded that our daddy has been downloaded so now we will open the file I am getting double eggs on this page Click here to start our inspiration If it goes then we will go to these solar Click on Continue in the Install and our username in passport Coming in will make the clause pendant click Now the second thing we need to download is the editor we make notes in notepad etc. We have to write to you within the given time We can write many things like a net So, we'll type it here. Download Intelligence Here is the first page of Net Balance.com The link will come and we will click there. And we are going to download Community version which is the free version, in this we You will select it and you will see the electronic It is downloading if you are using another system but if it is then cordingly windows linux You can download it for yourself as per your requirement We will do this, we will put it on top If you took it on your shoulder, we will replace it Now we will search in tariff and open If we do, we encourage you to read the Terms and Conditions and You have to click, let's talk now, so we Click on the button New More different options will open to us now We have available May One grade claim We have to stay on the option that goes to end Here the project is of SBI i.e. In the software development option, we have for this 16108 will be selected because what we have JDA's download weighed 16.03 We don't need additional library We will click on Next here. will click on this check box and this check Clicking on the box means that That's a little Juice Temple code for us It is already written that we will come from the beginning If I have to write it again, I will do it next But you will choose a name for your project here. But we can see the project location at the end Then we will name the package as our college I still know that all the related files are there that power is stored inside like History section inside the library I have all the history related books He sent a packet of code related to this Now Google has to do something about it If you want to write code inside more then Replace google.com with your own name You can also use com.google.com in the same way. Print which is the company of intelligent people If you want to make a project then use After doing this he will name it com.net balance you can check your package and here we are Whose name are you going to keep with you condoms? your college end you will click this pitch But finally, this is our code for us Our entire ID will be revealed now through this Some tips on looking inside the ID We will close them at this end. If you go into this thing called dipa then this Whatever the code is, it applies to our boil plate Dance temple is the code that we have been following since the beginning I have brought it now I will talk about our Where is the file that is getting into this cream If we go to the folder named inside which it's folder is there If you take our package then you will see Gonda Apna College and inside it we can see This thing called e-mail is actually our This is the file which is created inside which Now we are going to write our entire code here. But we will minimize it and end it will do more than just your main gate Now it is written at the top in Java that In which page are we writing our code? If yes then it is written above package com dot apna College now after that comes this thing called class All the code inside the thing is called a class if it is written inside then we can First of all we have to write it inside the file We will have to create a class inside that class You will have to write all the code of this class We will keep the name of our file same as the name we're gonna be in class when we're in school When I used to go to class, everyone there All the restaurants are in the 7th class The whole of Java was sitting like that course comes under these classes and this The name of the class is mail here The name of your file is also Med Dawa Sari The extension of the back is very Now it happens more inside these classes There is something else written which shows that a It is a function now what are the functions more inside the function there is a blog that is a There is a piece of code that is doing something It happens like if we press the volume button of the phone Let's press it, then our phone will The volume will increase in the same way as the The functions sleep inside, you give them some work Do everything with her They give us information and that is for us. If you perform the work for us then it will be more The first function call inside the Whenever the code is being executed it runs Let's name that function Main Function Now about the functions of maths we are going to go ahead and read on then We have to explain in detail how bean functions what is important and we will take care of rest of the functions How can I write it myself now? Another thing we'll notice is that the double slices after that right here is written code now What is this The rest is whatever is highlighted in grey This means that there is no code here But you can comment anything for your help. I can write now, I can write in English You can write in Hindi in which language I accept the editor, you write that thing I may have written something wrong here if it was not in your angle then give it to me If we come here to edit it and write post program to are first program This is the line in English, this is not a claim yes but in english line we are in comments You can write inside as many comments as we want inside the code we will write them double with the help of slices and if I do different If you want to write comments in eyeliner then Star like in this way that we will write our comments now We can zoom in a little by removing the comments. I take my special side to your code You are going to write a program and the first line Whatever we write in this program, This is the line that all courts start with It is written in which hello world then we what we will do is to create a will write the statement now keep this paste in mind Read it now inside C Plus Plus We can use a small word to show the output have to write print inside the pattern but when inside the print we have a long strip to do this in system dot dot dot print and printer inside a third third class inside this we passed the thing that we had to beat to get Now the school itself is a class inside a class We do their own print and moment of in inside this function we can do anything we will pass it it will be printed now the matter We do this cm calling again and again Why are you putting it inside the record? Like every sentence in English ends with We would have put a dot after it so that we could know our line ends here Similarly inside the code of java we can use cm corners to show that our time is over here so here But our first line is over now Let's see how it will print here. Click on this green button and you will receive your code end code to run our run Gaya in we have it printed hello world that we have a string pass here process plate in print with it I will definitely add you the admit card in the code It does not come where our unifying code is If there is a king in every place then it is considered acid Hello world is now printed for us If we do this hello outgoing again Click here One of the new footprints that happened for us yes that has happened hello if you reply then I will go to you But if we want to print anything then we will write system dot dot dot print add this print Besides end, we can also write print and if you write print then if the output is If you observe then the output is same as before You will see the difference that after Hello Java now If there is no line then whenever the printer talent If you use it, it will print its output After getting it done, a line cut gives the decision and print doesn't give one line space anymore The shortcut is to print the intelligence crown of special that we will type s2u then If we press the tap then the tube will immediately System dot print alien print for us The complete statement at the end is Now you don't need to write it again and again Let's talk about it inside very we all uie it we its They make us laugh like if we are called by someone's name except for the memory inside or the code If we want to write it inside then how do we write it? will write this trick name is equal to aman then In this way we have a name for the string type. We will do it with the value inside the name of So it is stored somewhere in the computer's memory it means the name of the point question on it Whatever is inside the name is now like another name if so how do we do it again we will write and we will subscribe it our age and Location Location Location Delhi Its name is Odia, so we have given it to you string two names were left out except that Let's assume we need to store this as well How will we start it when we arrive? Here we will write INTG total 230 so what Now there is an interior type thing inside ma'am The location whose name is in our hair and can subscribe each other too I can do numbers in the same way so Like if we want to create another new one which we If you subscribe in the front then our Another location was created inside whose name is inside which we first created then these two Tightening A again what we're gonna do here But what happened to writing inside the location Here's the playlist at Bring It To The Front was and the thing there means so means there But indirectly acquisto is like this its value is that they can do it for others it can be seen that many of the Others who subscribe to our permit or type first of all we are going to talk about that now Set which primitive types are supported The first of these is a bike Our bike takes up one byte of memory inside our computer's memory The numbers that can start with this are These are - 128 6 We are the numbers up to 127 You can store everything in a byte like this Only after this does the shot come to us The White's memory takes a shot after that comes to us in these takes 422 memory comes again long long takes 822 of memory and so on upload in this way There comes the nut inside us decimal darling which takes up 422 memory and along with this we will write double-double I used to take the white's memory and then we Let's talk about characters, so character We write in our own name and take this we have two bikes all mehndi and finaly Our forget forget means true false proof like or no like If you use your fingers for this There are only two types of lists in the world start can be either true or false so this takes our one boil i.e. on or Of course we get it stored in it Character of our normal English characters like in this we have abcd Stores are crisp plots our decimal Values ​​page of soldier we have 3.1 post and we made them do the same inside us, these tears Towing is done in different ways like this Within our type, we keep the type separately Now all these people are getting this done There is a range of tips and within this range If we look outside in long numbers we will look at the maid's Those beyond their capacity will try so we can have a layer so We have to keep in mind which numbers are soothing I am leaving with this type from here Let us take some examples like if we ride a bike Make sure to make a plum of this type and this will give them their name We give one so many inside it give the quality which is If this is possible then in this way we have made a name who fooled someone whose type is white and The values ​​that are broken inside him are small now. After this, they take another exam type of my force let's name it We leave some phone numbers inside the phone hain siwan two three four 56001 phone number we have left but if we stay here If you definitely apply one more then this red line repair means this interior number which we Shukracharya brick inside this is my pants If it is going out of range then we will store it We cannot do it if we store this number If we have to pay taxes then we will start these long chandra tu long phone to and here We will still write the number which comes in this line To avoid this we are here If we give the capital then what happened, we got to know that We normally count the number of these attacks in the same way that if we want to write this plot volume We give it a name, if we get it then we get it Actress Diana will store potatoes at 3.14 Now Java is going to use this number I have to zoom in on the interior that's why it's hurting me now how does he know that there is a slot That is why we will write capital app here. you could have written smallest also but here The tip would have added a little more distinction that is why apart from the interior when the mother's The numbers are written as we have written in long written or written in the plot then we are there capital adds this capital so that The animal should know whether it is long or slow type one number is there now on another exam we take the character in character They write that we will get it done within a secret 1 If friends can do it other than this Any character will be there, now let's talk if someone is 18+ or not For him we were noisy, because My age is thirty so I got it towed If we change our image using the tool So here we can toe the for feeds So once our reforms are printed then this method inside boolean we can put true and Falls can give two volumes depending What is our condition, let's talk now If it is non primitive tips then inside it We are going to discuss this trick so we will write it down There are job tips inside, if we create them then Many latest mixes this and many more We will write to put it all together So we took it in this way and got it done Is Shravan now which is primitive and non primitive There are some differences between the types of sleep The first difference is that non-primitive types Inside our own we take something different from our own Some operations have been performed on him for the past few days You can do it or someone else can take it out again like we can find out the length When you type, press system dot The print will come to us now we print we're gonna print dot length If the entire third party is appointed then ours is appointed print print print and if we then There is also inside quote is 4 characters so if we go here Instead of peace, let's make it rough and if we run it If we do this then we will get the output like this we used non type in this way I called after saying daughter you don't need me and one The difference is that inside their daughter You can store the number - 12873 will come up or down for us if No matter how much we talk about it characters will not be appointed until Do not subscribe to our channel for this The website consists of another Our difference is that non Primitive tribes need new keywords We have to declare it through meet, now let's talk there is a new key so just like we have a dictionary There are many of us inside it There are awards and every word has a meaning pics are more like yours Lots of words in dictionary apps These are called vote scam keywords And whatever their meaning is, if the pics are there then it is like this object of the same class so this thing is Going a little further into the details, we will get more For this we have created non reference If they exist then we will create them, like Here we had written in its place and in we lets pass If we have to define another word friend then We write in the New String News Room Now if we pass the well then this is our way This new trick became yours, not your friend's Spring has formed so now we will say that here But we did not use the new news If we don't use it then what we have is nothing The reference side is there, there is no weakness in it that that's why we have to use it directly she's someone we can do that after that we You can use it in which can perform with use First of all let's talk about friends like now We have a first movie called Second Is * Which is called string eye If we want to make it then we can write Neem OnePlus said that if we print in the end time then Will you call your husband and see? If you want you can output for us Contact of both rectangles, join them both given this plus if we put another in the middle which if we take it then we will click here Whatever we get out will happen now there is a little bit of it C so that our channel gets printed properly Now with Gaya, the second one that we want to talk about there are going to be if we assume that our is nearby, we are writing our name and its We need to look inside that which character is the president of any What will we do with such a tweet if we get such a position and write the name dot festival function we will pass it inside first for sure So which character is on position every day? he is the president now you can ask this that pollution starts from our faith if yes then why should we write zero here then go go back to index 22 language means here but the position starts with one, if not If we talk about the earlier person If we talk about any previous data, then that If we talk about others in needed position then if we talk about position then position then if If we have the character in the first position then we Let's write this chord and see if we can do it our print is done if we do one print Do it and subscribe to us We can see both of them in different positions. can you tell which factor is responsible for which position If it is total then let's talk about the lens I have already talked about the lens Here we have to write neem dot length and when we write this we will follow This is our length i.e. support which is It will be printed now after the line is cut Another important function key is called what will happen with replace replace function Wherever inside our skin there is a We replace the character that does this and put some other character there can be like if our spring is peace what will you do need not replace call and wherever it is coming this pen we will replace it within 20 what I will do this trick, whoever gets it out, will do it We will print inside a lemon Our If you run scientist, see the output NB has come for us, so whatever is ours I used to be tired, which means Aman's small age has just come. We replaced him inside with this Maulvi Now with the replay function it's the same inside me it doesn't mean that if we Turn on Print inside code then we will see that we got our output in So that means there was no change in our original We are in a cauldron in which all our Changes then whatever is inside is dutiable meaning once you have made it then its You can not change it inside if you want If you want to change inside then you don’t have to make it If you need it, we will make it once and then someday If there is no change then if there is any change then changed it and put it inside a new variable We have got another important store now Let's talk about the function whose name is Subscribe to our most knowledgeable and big We have a train nearby, no small part of it If he wants to take it out then he will talk about how he will take it out are substrings of any one name which We just have to remove the peace from within So how will we find out, we will write E need not subscribe to and we need position from darkness 123 took the position till policy but that's all it is The first thing that one does inside is that of Ghaghra if there was no other meaning inside then if we If you want our character to reach third position then we will have to give it here because it won't we will have it by the third so if we So let's do it this way, if we just want So for this first position I want to three 500 worst positions for us we need I will put the subscription here because if we do this then it will not happen If whatever you have is printed then it will We have to use the subject matter also And this subscribe site is Neem If you put it on WhatsApp then we will see the same spring What are we doing return a small part of that lion and because a new spring is being made Springs are our in dutable There is a very important thing inside the lot Which we must always remember if we want to move forward Go to Data Structures and Algorithms If I will do it inside java then I would like to know should have strings in your table now Let's talk about a great job like that If we take it then how will we do it for that Will write about some student in this case for chemistry like that then how can we the way we will do it could be that first we Physics Then we will write chemistry again, then we will write There are three subjects on English till now but If any student takes 10 subjects by taking the goods are you studying or are you from 20 types of colleges The subjects which change in every semester on time If he keeps coming then I am very grateful for him If you start writing about all the vegetables then click here But we need a data structure that We need a tool that can help us to list could make us one by going and giving us an individual name If you have to give then go inside this list We used to say address then aliens are very close to us We can have all types of interior loops of strings too You can create an address made of characters as well You can forget about it here and make balance If we can, let us see that we are your mother How will we make these sandalwood writing I will give you friends and nature, then whenever I'm from Java If we want to make a career inside then we If friends install rockets here then First of all, we write the type of be data Your friend is gonna be in the square Brackets to show that this is a This is a list, then we are like no one else The first thing we did was talk about our mother that primitives and no data are from If you want to use no data then write to because we need some new types of people and If you want to subscribe then we If we can get it done then in this way we have He declares his name as ours Mother protest first to all the potatoes But we will do it, we will do it after that CPI(M) We will store 98 in the second position That means, for Chemistry, Mental Marks-2 That means we will store it in the third position Now use it in this way in English How will you use it, I accept that we are forgiven If we want to do it then what will we do to print try that by clicking on us and if you look at this post carefully so this wasn't there so if we print If we get it done then they will not be ours Why did this happen because inside If we try to print the then it is not complete for us on meeting the class If the thing is no longer useful to us then we I did not pay much attention, I have to remember that When we are writing the name of a variable, our If the egg does not print then use a potato to do it How to use us to print what is the square graphic operator If you print marks of Physics If we want to get it done then we need to go to pollution We'll right click and print it for us. Our physics measurements will be similar If we go to postposition then it will be a prank Our chemistry marks will end If we go to the second position then it will be printed If our English path goes then this In this way we can do any of this inside Java can store the data and then square it Access that data with the help of brackets you can do it i.e. you can find another one now Let's talk about the important thing that inside and is initialization now c plus plus If you eat any vegetable in a language like We will make it but will not value it So what if there is something inside those variables There will be a jewelry store in the market You can go inside if you have the patience and if you do not give it any value, then it These are stitched with a tap or There the buy deposit pigeon volume goes up is for example if we are here with your mother We make them but we sew the masks If you don't do it, it means you don't give any value We will do it here, comment out means This thing is no longer a text of code and a printable I will try to forgive you and see you on top what happens if we click on ram If you did, it definitely got printed for us because it will give the interior type and it We stitched them in some Bollywood Hindi way If you don't do this then they will get stitched automatically if this is the one with zero then it is of this type if it were not of boolean type then we would They write it on both sides, search for it in us and now let's run it and see our marks to be printed for saree jo nal bullion's lifts inter college There is volume, with these we will do straight stitching and even those from primitive tribes They are vegetables if you don't give them value So he also uses these taps and these MPs Sewing them with hair inside sleeping java Now let's talk about the next two hairs The first of these important functions is a function of length, so if we have some heuristic If we need the length of a list then we can get it could we have another one with him The important function is soft so if we have I want to soften a list i.e. Taking in ascending and descending order If we come then our hair would be too much for that too There is a simple function inside as we can call directly then we turn off the control and return it back Let's get to our opening chords We have our mother career now take this We need to get the mask printed in length To get it printed we use the system - dot print will write separate will write mother and Not loose but here we are on the function people If there was no control then it was as if we had tied a string dot length and called it inside it It is not that this is property we don't treat them like functions If we call directly then dot Length when we try to print So it will print for us now three Because we have divided the marks of 3 subjects It has been stored, now we will use dry ginger To make it, we first need a class we will have to talk about it hey there was class there is a function inside you dot soft By doing this function we will see our address And this function gives us a request by giving us a Sorted in Ascending order Now he will give us back what is ours To call it we read The address is the name of this class and Nepal Java inside we are the bike stunts of all these All class names are given in upper case That means the first letter is mostly capitalized. goes to class now it has a shot called We've called a function dots and We will pass our written mike salary is then to call this function we need to I need address class and the red color here It's coming in because it has hair inside it that we go jogging don't you tell us what are we which we have to include are going To get out we will go up our Inside the code we have our pikes so we wrote other than that we will import it java dot u tell ur daughter and another one named So in this way inside us so that whoever takes To the other that the day within which such option is available If we want to use it, we should keep it inside us. I will fold it this way, which means import you must be importing something so here we are with this note bring it and here we have Reddy make a call to yourself that now before we start if we print getting the marks of zero and starting done after that if we get it printed sorry Let's see the difference, we will comment on it Actually let's end the run of our code from today So look carefully before softening it page 197 your marks for us if If you look at the beginning of your name, More heroine x but soft diya means put these in ascending order Marx will come to us first 9 inch then it will come after 9 7 minutes will note 800 1095 was first and soft After doing this, when we got it printed 935 has been printed for us so that means Our address has come soft Now with the help of S class function Already the letters were sent to the altar in Paris Explanation-1 If you break it then we will have to use a new keyboard like streams don't need If I already know while defining this If you want to store it inside the film then new We do not use keywords directly equal Let's sign it in the earrings of two inside the same address let's see that if already we have element under so eric how we We will make it, we will write in the Paris of Marx and in the flesh we'll sign 9798 in this We did not get any deadline for the fight Meaning if we get marks inside any editor Do you know how many subjects I have to tell about that too? If you know then I can do it directly in this way These workers can treat with the help of the press So now let's assume that we have two students the master of so either we create another one We should also do physics and chemistry in it and bring more marks in English or else we will What can others do inside this arena Soon's mind can think traditionally how will you decide which marks will be given Students Quote for that we use something like this on the network let's do what we call today one right now Till now the addresses we talked about were one It was going on in dimensions but today hey Our two dances go on in it so like We used to study matriculation in maths, now Today the metrics of a test match would be the same Now we will write and see how we can use death How to do it like one dimensional hey We used Singer Sky Rock for this Similarly if we have to make these today then we have two motivators if you use this So let's call it Final Maa Final We have created a variable called marks which There is a today hey, inside it we sewed these Friends, its box will If yes then do it in this manner sometime during the night First, write an oath to the student's mother take 9798 15 take the measurement of others 9 Inch by inch friends we have made what we have our now how to do this inside the face so its For this we will get it printed first final in lift student on her Please subscribe to our We have subscribe subscribe then it will come here after this if you do To myself So we have got the output changed 9500 OUR SKIN STUDENT'S SETTINGS The marks in the subject are Enfield In this way we have the same type of information Of which it is being used as in us Now we can all talk about grains together Let's do an important thing called What is converting from one type to another Now our actions can be of two kinds, she might get impressed or set now Singh understands that if we have there's a small glass of water and we have If we go to a party with a glass of water If you put it inside then it will fit completely inside If we take water and pour it inside the glass then it it will slow down inside that glass a little water, we will use the rest of it We will not be able to do this, we will have to remove it right here The app is called in the program Vitamins Casting and here the hair belly i.e. container We take data instead Before understanding accounting, consider examples If we use something then we need it If we want to write the price then we can use double data type. We will use it inside the crate to hunt and then what will you do with another double type Data is made in the name of final price In this we will tow our price with him If we add 18% GST then Let me know what happened if we The final price is ours The volume will be 120.02 printed but if Let's do a little research on something and Make an interior type price available Store it inside The tree along with it has a final price named Make it real, inside it we store our Price and in that too, the GST is 8.0 which is eight Try to do the hair we have now This has come because of the casting Let us understand this with a classic example like We have a small glass of water for that together we have a bucket a bucket Now there is as much water in this small glass All of that water is inside our biscuits You can put it but there is no problem because its capacity is more But if we make the stagnant water in the bucket small will try to put it inside the glass So all the water is not inside that dead body A lot of water will be able to flow now this thing will be done and will be wasted If we look at the program in Java, we If the data pays attention to this then the chanting of double will be done There is a city, whatever is the size, it is Eight white and their capacity is four white key means int Quick size wise and ours which is double size it is big so if we have any double We have got the thing towed and we are going to bring it inside. If we try we can provide some of our information I can use it so I took a jogged matic Implicitly this is the conversation which cutting does not alarm him but if We can declare any value of these types as double type If you toss it in the serial then it makes noise Because the capacity of double is double again so I mean any type of air that is invisible there is a stone inside it goes to the double variable Now Java can also be towed inside this small container to larger container it is a process, it does it automatically and Hum naam me implicit caustic to for In the example when we have at The interior volume is designed to be a double my tried to store it inside so for us ho gayi in place for the counting which go the bonfire does but In the example when we see that double type try to steal the variable from your in the interior type ribbon so here Java don't alarm us here you are The cloth position from our side is It is best to choose the hair which you want to store According to that, which you do we have here? we can use it as we name it Explicit casteist in a specific We say that it doesn't matter to us It doesn't matter if only a little bit of data is used Right now we need small type of boxes But you want to store your volume in it only For explicit casting we use two methods Sir you should have written your second type only write it in front and inside it whichever We need to cast it on the side, so this If we convert W into interior If we had to do it, we put it here, Inch Parents inside this and our red line is thyroid the board of has been speared so now if we Get your final price printed Here first print must be of youth 180 now Another thing, if here 8.18 is installed instead of 8.0 If it would have happened, would it have been printed for us Print would be 182K when in double interior If it is cast then all the decimals behind it The outside volumes will be deleted If here instead of atm it is ninth even then there is a difference in our output for us 198 would have been printed, not the exam point note he will take only one from there after the decimal The one wearing the saree will transcend him i.e. If I remove it, then in this way the java inside Singh does that and we have a type of variable can be converted into another test s Long s u type is compatible means we Springs not converted to interior we can do it but interior means numbers so we are one Would have been able to convert it into another form now let's talk about one and a half inch like If we take a normal example but a T-shirt If your pimple becomes one of ours then h take it home some next year this year later The one thing we have can change, it Our number will be thirty one so put only one here The changes have been made from 31st of next year If you drown yourself you will turn thirteen then it will be like a is the area whose volume can be changed Some career buses may increase with time Some? There is an increase in which the constant have to be kept like a party exam If you do this, you will find that the potatoes are always 22nd i.e. 3.14 remains the same now we have java code inside us How to install inside that its value To prevent any change from happening we use are a spinal keyword if we have to slow down Create a type of vegetable and name it and in this balance toe right 3.14 f2 code If later on someone ever finds us 1.1 If Shaffer tries to sign, he I can't hold on there's no point It will come because what we have got right now It is not final who is not his friend We change the values ​​like normal variables Now if the pipes have constants If you want to make it then put it in front of the slot There will be a spinal keyword final Prem Told that this is the final episode of the serial later you can change it to angle and when Next time we go to change it will come for us Parents cannot assign value to In this way on the final semen force we Define points within the code Whatever confidence there is in the end His Volume Music Capital Latest If you show it then this is convention The points of this code which need to be written are There is also a final use for them, we call them upper ksts and define that their We don't want to change the volume in the code Now let's talk about Java very much which is an interesting concept Operators were Jawat Yandacha type operators. yes they come before us Domestic Operators followed by Assignment Operators and Logical AND Comparison Operators now Logical and Comparison Operators We will talk about it when we put it under unique conditions We will be reading the statement here Main operators are going to talk about the idea Edit Matric and our event as well Operator Now let's talk about exempted operators If we do this then it is like our maths operators there are types which are multiplied by plus minus Divide as well as taking out reminders so this is our The major part of mental arithmetic operator is which we are going to use now if In operators example let's assume that we have a number 11 in which the red Used oil is dam, we have another number is the one in which our to have to and if If we want to torture them then how will we do it? We're going to write a plus bcd and now the stump If we get it printed then by printing we have out quota goes okay so this In this way we have defined the plus i.e. addition operator have used your code chapter just like this if we should find the difference and also do this name amazing and different a minus b hum likh Let's give it and write it here dip so on top If we go and immortalise the code then our For different size cards - two means minus one And if we want to do these two numbers multiply then to multiply Here we will give the sign of multiplication That means we will write the multiplication operator & We will get ours printed and multiply it variable will run this so we have output i want to change you after that talk Let's divide it or we will divide it by the If we want to get it done, we will name it and he that when you get it printed after dividing it and then So when we get the answer, we will definitely tell you now that divided by two would be our 0.5 it means yes if it happens then why stop here Our day variable which we took got printed he is entity type and we already talked about have done how in interior type which She is the one with decimal hair They all get crushed under the train If it is there then 0.5 will not be printed, it will definitely be printed We gotta do one more thing, we can double up I can write it in variant and then Double the value of that or the volume of the plot By dividing the whole country You can take your own division cows If he wanted to try us, we would have written to him are double in 122 so and along with that our double dip and if we print our output So the answer for us will be 0.5 inches Now there is another special operator where The match which does not have juice inside is called They say Molu Molu looks something like this mall We use above when we divide two numbers If this is done then send them a reminder If I were to divide you, I would be broken without you and here we should remove the mode People and we should get it printed if the malls The answer will come out to us, wow, now the answer How did one come to be when we divided into two if you did then it would not have been a complete medicine and He always leaves comments for us vijwan so that reminder we directly You can extract this module in java With the help of the operator, so if we have five divide it by three Let's change ours and make one 15 back so you know that five The three that are in it will be inserted directly. If the reminder increases then verify by adding if you can see that in the output Printed broken then from five to free If you divide it, there will be two reminders And give it back to us by returning our malls then in the same way inside java Muzaffar, there are operators in this matter We have discussed them, now let's talk about them Our assignment operators are We have been knowing about Assignment Operator for a long time now. We were using it so we used double type I defined this variable which has the value We have signed the file and this assignment operator we have used to sign that volume So wherever we find this bridge broken The sign looks like this is our assignment operator Assignment operator This is the normal assignment operator Along with this come our enemies Operators Union What are Operators that if one like you is admitted in us If we want to use operators then we should always use hit a and need a b Because whenever there is an operation, they always kill The guy is torn between two options we need at least 2 numbers for them if have to plus have to multiply have to divide but if we have the example of consider that in this we make the number I will sew the number with volume on it with means number we made it a variable We have given the value 1 to the garlic now We want to increase what you can write number plus one we can write a lot Comfortably and in our number rallies If we get it printed then we will see that In the output that our value will come to us, you give it to us I will comment but this whole sentence We have a way to write it in short There is something inside the youth that is inside of him writing class one what should we do here we write number plus now this is plus security operator is like match operator give it Let's go for the operation and always perform the operation to make money java inside some union They are operators, they need only one point They don't need another number I will turn off the plus in the meantime and for that Write to us for further plans and if we want to return again If you get your number printed from our The volume will still be printed and available to Now let's see that plus ahead and plus plus what is the difference in putting it behind now We take our number plus in the beginning print the plus and then print what will happen if we do our number and put oh that in the beginning the print vehicle for us later print it for us and now whenever our If we put plus after the variable then First of all our original bridge The production is printed and next time our If the volume changes then change it next time after it is done it gets printed then later Applying it means that our value will change later there will be a problem but if we first divide this plus plus and then run our code so we You will see that there are two prints in the output first It happened and later also two more were printed i.e. If our volume changed first then it changed to two and later it was already If available is changed then tovalue will be printed will go now as plus unites plus one Anyway, for - - the Beck union operator is which unites for value - now we call it Let's see -- put it here, that is the decrement operator and then your Quran If we do this then we will definitely get the output in the country improve yourself because i am the first one that our forest which means in first instance it decreases initially It happened in a short time since then The change has already happened in 2018 - - we after the number and then your mode turn on the This is not the change we had in the beginning Our original print was made first What happened was potatoes for one and next time It has been sent i.e. it has been decremented from the vehicle Ours went against me, but in this manner Our union operators work more inside and this operator is very helpful because the whole live of our code is They have made it a single stock now Let's talk about the very important things about Java class whose name is maths maths class There is a lot of mathematics related in it All good things are good that we get They do too much, whose name is Daughter for example we have number 66 Now which of these two can you achieve maximum? We will subscribe to whoever has the and six more automatically for us in our Remove the volume maximum volume and If you type this code it will print Six is ​​going to be printed for us Similarly there is another function named if there is a document then instead of maths we Call them and then turn on the mode so our output my servant will come then this You can use it in the following way in our article Go and subscribe, our things become easier If we talk about what happens then ours is 0.00 how does anybody in the range do it if we call me maths doo doo doo doo The tent owner gets it printed first We have no longer volume prints After it comes, if you call again then one Third call came with different value printed If you do this then another different potato will come out printed It gives us a different potato print every time. Now it gives it to this Lalu whom it has printed I have printed it in long key form If you want us to know the volume If we get it in their form then we will do it What type of thing will you give then expressly Singh we will use here and this volume We will get less prints done but we will get them printed will always return zero every time because The value which we have is always smaller than our value and inside the interior variables The mental younger daughter in law is always a zero what will you do with this volume ravana maalik I will multiply it and end with hundred After multiplying it, type it and cut it If you give us then we will mix our youth It will be printed initially at 70 and then call again then quality to so in this way we random can call the function different decision To get this printed we already need to Do you know how to give us the output from your code? but if we talk about the angle in which How do we take the input then we will use it Now let's do court for a class called Scanner Inside we write the scanner and its name of the class that we create the object of I will make it with the help of new keyword from and will pass it in system dot in Now if we write this, we're looking at some hair time it would be like if we don't have a scanner So we will have to import this class We will do it on javar.u-turn.channel import your release this player has been done we have this corner class come to us and Like for output we use system dot out For input we will use system dot in and it will pass this In the channel we have our own channel through system.in object is created and sorry when next time the class We will discuss them in detail If you are reading then we have used this scanner object made now scanner is handsome Let's assume we are going to take input If you want to take our age then first take a print Let us get your email inputted and then what will you do for us The input head will come, we will leave it and go. in the semen named interior and it will come How do we have a function called dot like this? So inside the Scanner class our next These nasal functions take place with the help of which we'll take the inputs from the interior now whatever We have taken input of one, we will do that later Will also get it printed and run this card We will try it and see if you will follow our instructions for first was from or input and here But let us enter for example I just entered it and after pressing enter Our edge was printed back for us Detail tips so use this method to scan the scanner With the help of the class we took our inputs We have accepted it now, we are not interested If any slot volume is required then store it in a serial called Kar Aadha Plot and if don't do it again, he will come for you input and today we will enter this here to the party Print and 14.0 Vijay Walnut for you volume now what else can we take Also we have in the next We are stars, character decimals Along with that bike long bullion lots can input this now from these It becomes most important for us To get the strings of frequent we what do you do first make it string variable into which the fuel will be written I will do it in SP dot next right now The next function is: This is used to To input, we will write here: After that the robbers took whatever came to us we will get it done with the input now try calling the cord and enter it if we did then we have our own name and try to do it again one more time and enter Shravan as a good boy and if we enter this Do it and we will just have the printout of our The entire line is not printed like this this happened because the next function is inside it would only take one single word The sentence is complete but we are not complete If there is a sentence then how to use it for that Let's do the next one with the help of nine functions We can take the whole line and If we go back and type our The sentence got printed for us the whole way there are so many that this you can take it and use it Now before discussing the conditioner statement When we talk, it is as if inside we used to compare that one number in is greater than the other number or If it is small then we say less poverty greater than used to use the sign of as well as some wounds it happens inside where ever we see numbers or different types of earrings for her we are comparing them to compare them For this we need the help of some operators we will discuss them with operators The first of these is our equal The Two Equals Two operator says that if An inverted equal to be i.e. the same current is it equal to the rest of the hair if it is will return true otherwise we will have This side does not belong to us, it comes after this They used to pass the notes from beneath him It would have taken an hour but if inside If we have a note then we will use it, so we will write this note so if this doesn't happen at all then we Return If there is no petrol, it will return us full Now let's talk about Greater Dhaniya Equal to A then if the left end is also there then what do we need If you want to do it then you will use this list for that sign and if greater than is to be used So for that we will use grated day also the sign of with we garlic equal to Or you can also check Greater Nikul Two A Luton equal to be to check him C D Grade Turning Point Two In This Way Our comparison operators are We use them and will use them now With the help of an example, we will first talk about Let's talk about our conditioner statement What is conditioner statement in eg If I have one line limit in Hindi, then If our sun is up then our day is not So the night is going on for us, if we If you translate it into English, I will say it this document you give it is that it is not then this which and that the two conditions which emerged from this are the ones we will consider is called a conditioner statement and this whole We can change the line in Java terms like we could first make one boolean variables we're going to talk about Making the mistake of using conditional statement On the human side we can store invariables in it and then write our conditioner statement means this as statement so this is on the other side equal to if this value is -2 then in that case In I we will print see the value means If the previous condition spreads to us So in the second case we will print no so this is what we have done code and this if we If you get it printed then we will put it in front of you I had solved it as true, its value was checked Equal to equal to and for us digit printed that if there was no space I mean the sun was above it would not have happened and there would have been a toe falls in that case If you run your code in my code then it will work for us nike would be printed if the sun isn't up If it is not there then this is how our Java Our this statement works inside think of it as a slave, like if we Define our age, let's accept it Now we have given a small picture and if we check it that anybody who has had a prosperous life you can vote or if you can't then we will write this stage is greater than 19th We will get it printed, otherwise we will vote If you are going to get your throat printed then run it If we do, we will make a small one like this for ourselves print they can vote but if someone is 3 years old He is a child, we will check his age so it will come for us that can not mean account So in this way we can create an egg state I can use our different Now let's talk about analyzing the condition score Now let's talk about logical operators in the court Inside we need a new if multiple statements do we have to turn on the lights or some logic If you need lights then we will do it With the help of logical operators this if If you see the example, I will understand it better. You will understand the first operator among these is and operate The and operator says that if The first condition is true and the second condition is also true Only then will our final crown be total It must be five, otherwise our output will fall It is going to happen, let's see how we accept it here we have a number in it The volume role is kinda Yagnik's second number There is B in which there are forty thieves in quality If we put a condition that Ageless 1050 & 20 looting Only then did we learn print understanding loop 2015 so if we call it ram because our 3140 both are left so print for us and very less 150 but if we change here do it and make it sixty for us Nothing will be printed in the output because This condition of ours got spoiled even if our writing was copy but it was our If it becomes greater than fifty then it should be done under this condition Because of the for we can reach this statement never reached and for us If the statement is not printed then do it in this way in our from conditioner statement when we hit end If you had planted both our eggs, then it would have been our sanskar It is important to be true as the end comes Similarly, there is another operator which we call It is said that logical and logical and is written in this way We connect two pipes to get these two Our straight line which is made of three keyboards above their Now let's see this lesson first e and b vid oo that in this case there is something for us at the end it was not printed but if we look at this same copy this thing from here and paste it Let's see if something gets printed We comment on it Doing an end run with the help of a command plant Are I have many lessons printed for you First T20: We would have made some changes at least they would have stopped Whatever I did, it got printed for us at least one last fifty how to print now happened so that it used to check for us that Both statements should be searched like this and Checks that only one statement is executed I will take whatever you write in the statement If even one of these conditions starts with you, then things will be printed for you so your The block will work otherwise you will get a return Now you will get another fall inside Java is a logical operator which we call If you mark it with an exclamation mark, then it is negative like if you have By doing it through he will get these chords And if there is a chord condition then make it a true If he gives it to you, then it is like if he used to take not equal to The explanation is the same as you used to Note operator ours is the only one remove the exclamation mark for this example Let's understand with help like if we have a made boolean available address and it we have ear to all so if our he is reliance you are idiot So in that case we will print it. And if it is not 1000 difficult then we will get it printed We will not edit it and if we do it then We know that this laddu is ours The output will also be true meaning our exit will be it will be printed for you but if the treatment is not done in it Let's do it Paul and then run this chord So for us this print note is 8 minutes Now in this chapter we will discuss optimization Let us do it with J Be True or False If you need to check equal to condition then It is not necessary to write equal to inside more if we remove this whole part then Even if there is no flaw in our angle, Check this out for more and tomatoes is equal to with so if you have inside it Write a condition and is equal to through Even if it is not written, it is equal to This is a way to check it automatically Open it and see, a crown will come from you which is not adult now in guntur their place Let us put the negative here. Quarter means this question logical operator We have installed it so now it is easy trend chat he will check it is equal to for eyes and for this adult ours falls of The first condition will become true for us and will be printed as adult so inside java this Even if we remove is equal to inside the condition Even if we take it, the condition works for us But instead of is equal to, if we have Checking Implicitly Is Equal to False then we use this negation operator Account statement of this logical operator You would have subscribed to Exam Clear so let's assume we have two objects and first take a pan The price of which is meat ₹10 and the other one is one The price of the notebook I have is ₹40. what will you do ask your users Tell us how much money you have With the money we will tell the user what He can buy a pen and a pencil both together or he can just buy the pan to buy Or is it a pen or a pencil If you cannot purchase any of these items, A small program to write this If you make it then first take the input Use the scanner's scanner add-on exactly tunnu scanner we will write it inside it will do it for system dot in input now We know that the price of the pan is ₹10 Note book price is ₹40 for us so the most What you will do first is to find out who the user is If you take it then check for gas and acidity How much will we subscribe to the printer Not directly, we have done this calibration here inside doing we 133 After a statement from you if I If you want to print just one line then We don't need the block but we do need the value Let's say we need to print another 30 is guest mode is on then in that case we I want both the lines which are ours Printed if a statement is true So in that case we will have to apply for ourselves Near pressure or block hit record Now inside here we have written the first statement after this another one is putting this meaning If this is not true then another condition We will check that the cafe Great content and tested were left Parties in this case we will get it printed can get one can get only one thing and finally our belt statement in which we will write what will happen in it In this, our answer is that in whichever case We have price of pendant pencil in It is tighter than that means it is more than ₹50 So in that case we're going to write can get Now he is here to give us cash in place of a party You should have written a letter that both things were coming If you go, can you understand what you did the most? First we took the input and used our gas after that we saw how special it is I took it that if the cast is less than 10 then we will do something Can't you buy this for Rs. 50? in between so I can buy one thing and If I have more than fifty then we We can buy both the things according to this Let's donate this and inside our input window we're going to input I would have put it in the beginning means if we get together then its We can't buy anything with this hold if and input your code That we have Jio for Rs. 60 So we can buy both the things, like this we did I have used a conditioner statement With the help of a small example, one and Going forward, we have to write programs like this inside which we will have to check conditions here and there If you have to do it then we will write it in this point Now inside Java we have a Bar besides this there is another type international it is a statement which we name what does the switch do the switch can be used to connect any one number or takes a hairy dick and Many condition score checks on its basis If it does then let's see this with an example Let us assume how the middle works Let's define a variable called techie and in the day we started with the talk so The forest means us this monday you mean tuesday tears like this The meaning of woman will remain the same for us the way we associate days with weeks If we turn on the lights then we can write the switch here Give it a try and you will pass in clean what are the ways inside the switch By passing the day we will see on the basis of the day Lots of condition score checkers for Now our things are inside the switch you used to have a condition inside this pain Paper gets stuck inside that switch It is true that Lalu is there in front of us, if the day that if it is Taliban then print it in that case we will give me monday like this if we copy this paste it then cash two comes to us and in to we will write request from tube and such after writing so many how's ours that goes we call it deposit We will set the default here and By default we assume that they write if you are sunday monday tuesday by default if it happens then with whom will it happen first then with whom else with someone other than him so she goes away our default and inside it it happens that with ajay it means score runs then our output will be something like this In which the whole thing is under our control Is If it comes closer then our country's swan Make a match with the Taliban and for us It was printed on Monday, but after that how will he take it all down directly will print the statement just like this if Our country would be two and if we run it So there was no March with Kay Swan Case-2 became thrilling with him, he is ours It will be printed for Tuesday after that Everyone can see all the statements carefully In the crown we wrote Monday this is our output started with Tuesday but we want that we have the same tasty conditions which if it is printed then in such a situation we I will write a break to the grated keyboard What happens if you type the keyword wherever Our case will end there. we will break the control meaning that the whole We will get out of our thinking and what will happen next Statements will not be printed now deposit we don't need to write bread with because our block is already over it's happening here now we need bread So if we now use this code for day two If we run then laddu will have side effect it will not happen, it will just be getting printed for tutu on tuesday because its here But Tuesday was printed, after that there was a break We exited the switch block So this is how we can answer the break keyword. It is used in code where We have to get off the block and move forward Key statements do not have to be unified Now let's talk about loops inside Java. It was said that you can go from the first to the last print this number so that it doesn't show any we'll do system dot print add In this we will get it printed one similarly We will get the two and third lines printed We will print it for free but now we should be told that you are from the forest He ran away after increasing the number to hundred So we will take them one by one to a garage. Store inside List us all No. C or else we will print our own one by one Repeat the statement again and again on Monday Write it now, it seems to take some time Because the number is over a hundred If you can take it up to one million then one not writing to million print statements If it were, we would use it for such purposes There is a help of lookup loop in Java we do the things that we need to do If you have to repeat it again and again, then inside it we put how many times That work has to be repeated and our roots Those tasks can be accomplished with the help of some conditions Let's repeat it in June inside Java Team type people think for lord Divine Lord Sewing We talk first Now if we talk about Shahrukh So Paul's rough sentence looks something like this: First we would write for forever where inside it is bright after this we write are the parents in this period parents are in this Inside the for we have three statements less Let us write the first of these statements When it comes to doing initial eyes then these while sewing with the patience which we world this name i20 meaning whatever thing could have come out normal as If we can declare it then we have mentioned it in this start from 2021 and the other one is of the condition that as long as our glue is equal to Hundred means we will start with you and that We have to run the loop as long as it lasts I want to repeat it and the third Our statement comes, update it Queens so update if we come then you must be doing it Plus seat or else come from easy kulta plus one So we know the plant in union operator operator does not mean plus then loop What is happening in me? Who is disappointed with life? and we are making you i plus one When we ran the loop, Lalu came to an end After this, it will increase from the tongue next time It will work again, the characters will increase in the next The bar will be open again, it will all increase The end value will increase by the time we come to this article This look makes you go beyond two hundred What would we do inside? We would get it printed. If our relative is here then this is the way in which we have There is a for loop, it has been completed If we want to see the output then we can do it by ramming it If you see then we have print in the output The numbers are over and our number is over. started 12345 676 till end means The nucleus printed out this number for us If yes then use three statements like this By doing this our look works if this In the loop we went from one to hundred If we want to print then what will we do here Now we are going to print it by commenting We will fry them, which means we will start first It was happening now I have to fry it till it starts as long as it lasts from the time it came Till then we will get the paint updated Write in the condition that you have to write starting with and if we decrease the denominator then this will be done in a way ki one to aaye is equal to i - one hum we will write and print the i now this If we call and check the statement then our The output is something like this Our I have been printed first hundred then 989 and that's how we finally have it The output has come, I have just talked about this We did For Lips which starts from the front You can start from the back now Let's talk about oil of his wife in Hindi If you try to find out the meaning, it happens as long as it is wired inside we give conditions meaning which is ours there is a loop according to that now inside this we As much as you can as long as you make white bread by converting it into the form It went viral, now we have to write this code above so how to write this for call loop Boil ours who have come is greater than equal to one till then what should we do Till then we have to get our ID printed and before we declare it It means that it is equal to hundred for us I will have to abuse you, now I can ask about this that here we have already declared it has been done since then we are here again why are you declaring because for Any number of declarations inside the loop He is like this only for the looks and he is us Can't declare them anywhere outside Neither can you use it anywhere outside nor for decoration Inside we have declared a variable named hege If you give me the name again on the video we I can't declare that I won't be scared How does the Java compiler know that whenever If you are using a poor person then who is he? This variable was named August M. If you do this to coat then that oil will be applied on it. Whenever the variables inside are past In the follow which we have declared in tie I did it, it was just difficult for that For the look we need a separate very clear will have to be done and we have taken it some We could have given it another name, we could have said this as well If I could call you by name from A to Z We declared that she had stitched them Will the condition on value go from hundred as long as there is greater demand we will You must be printing it to Param Jain Every after an option means run loop once block work once then its Baba, now we will have to decrease the volume We call him a car and the work that he does inside him It used to happen here that three in the follow We could have made a statement but inside the bill we had to If a separate statement is not required then it will write is equal to z - fun in this way from we bind the decrees to J then stitch them here condition is given here Here Printed it and here it is decreases by one So this is our complete wine loop That got completed, now this cord has to be sent to Ramnagar to see what the output looks like so we go up By commenting out the point loop that is going to be we can see that our The output started with the emphasis from the British It worked in a way that now the difference like the condition check at the beginning and if the condition is true then we Let's do what's inside first and if you want you can see its texture If we take it, we make a new one, meaning have to work Whether you want to print the volume or not After that we have to decrease the quote bye-bye end Here after do we write wild Statement Meaning Do Wild With Wild We write that statement either starting with there will be a fall and with that our The condition of the looks is making it brown If there is any, I will write to you on the wire condition and that condition is true only if Our next hydration is not for the next turn Pran does it otherwise we will be with that look If we go out, we will write bye Till this great and equal to one and Here comes our terminator, which is Those who saw Sainik School, did not tell us anything I did not have to put it in the end but in Dubai we put it after the condition to show that for what we have here to end Now let's comment and it sinks to rob This is the Mario output from the device A The crown from the movie is where the first Hungarian When it is being printed, I go to Noida that's getting printed for us that 2.1 is now Exercise using dual app Let's try it in this exercise will take user input some numbers and these We will print the numbers on the screen And we will take this number as input until it He does not tell us to stop, what does it mean to say top We will be taking only the positive number of users but as soon as the user name left Nehru's We give any number in input and we You will stop inside this look, let's see How to solve this with the help of Dubai if yes then first of all we will make our own Scanner Class I will pass it in our system dot in because we are going to get a report of that After that we will make a drop of oil on it Now inside we will write my condition here. what we need to do first is that we If you want to take input from home then first ask what input they will take we will give you number of number name then we will give you number of these return things to this number so here we will use print and why print end in next line because whatever you get printed from print we will not have net stitching but If we do it from Britain then the neck line will come and we a given number in our number both in the same line If you want to get it printed then first we will use print then print elegant and what will be the condition that we need to fry the until loop We have to do Swiss rolls till our turn comes If not, then we will put the condition here when Tak number is greater than or equal to definitely Right now the number is given in red area near it Why did this happen because we had not recorded the number inside the loop so we can call it Use outside the log i.e. in the boil statement You can't do it so give us your number We will have to declare this number outside We declare it outside and it means from here We will remove them with these end scanners used to sew or play with if in Even if we don’t do mini stitching we will still The phone number is interior number 107 sewing Here we have taken the complete code and finally this The control that will come outside the look means this which is a number like minus minus two tried to print and then people If we come out from there then in that case we will come out here We will come and get it printed after saving the depend We are being asked to input the number When we input 2, we got two front Now if we want to input again, will input it will be printed for us If you enter the number, it will get printed, now we will If you put the minus in minus then do this method If you get this problem by using it from Now we have to take input again and again where inside it You can apply a dry loop using this method You can keep this condition inside your mobile With the help of which you can add it Now we are going to discuss one which Important keyboard and we will talk about it in a little bit It is discussed that bread is used He is out of any situation, out of any It is used to loot hours to get out in how we can use and now If you understand the meaning of it in Hindi then it is something Out of control from here on out breaking the control and if we If I understand the meaning then it means something So if we want to keep something, something If you want to repeat then you can use it for that so let's see what that means Is How long can we run you Now any oil can be used for infinite time How can we make any loop infinite time We always drive it through its condition so if I write it here then this while loop in final time chalega means it will continue It will remain there, it will not stop now if it is to be stopped So we need to use the word bread like now we have to know how to do it so what should we do we will define a web on them i That potato let's start with the gang we talk are going to do from to five We will get the value of the mistake checked by five Then if we exit from these people, we will I have to get it done, I have to get it printed and then I have to If we increase it then this 250 plus one means I plus one which will be electricity will be one more If our work gets done then that case will go do it in Considering the located cord a little carefully we started with couples our volume then we ran those In the condition we have written through, meaning Wild Roop will always run first now I will get it printed if Lalu comes again I will increase it by one and then we will see whether the value of i is greater than five is gone means we have to run the next loop or This look makes us crazy about the cloves coming out Have to get out if it becomes greater than five if yes then we need to apply brake i.e. yagya loop It's over now get out of here If we need to print this much then get it done Let's run the code so this is the code for us printed means out so the output 040 was first printed in If it happens then it will come here and get printed, then finally Potato must have increased by one then print It must have happened that one fits you and similarly when five It must have been printed when I came here that potato it must have become 6 and when it came that 16 money then this condition has started which means bye witch sage cigarette 35 then we bread condition and then we were brought out in form If you have come out then take it from the roots in this manner By five we have sprinted the value of I Given that we want to print the same thing Meaning Lalu came from the roots to the five I would like to print this out but we We will put another condition in it that whenever It should be free and should not be printed otherwise print all numbers from roots to five So we'll have one more for three Now I will have to write about frills to make it special But now I cannot write that if it is free If it happens then you should break it and say it out loud. leave the group control then other valves do not print it means point five will not be printed then We will write continue keyword for free Saying continue means that you are continuing this Executing the rest of the statement I did not want to gift them, I skipped them all I want to do it go back to boil, that means please continue that this is the current tone, that is, the one right now The turn of the loop which is running, we have to You have to click on this to go to the next turn So inside the code we will put a condition which that it will happen that if those of ours who have come from North If it is total then you can continue in If we continue then our three will come some other time It will not be made, that is why we came here first Let's update it i.e. I Plus One and If we continue again, what will happen when also came that it will happen that 341 will go and our who will become the continuation We have used the Continuous Keyboard now. Let's try running this chord and then ok we'll do two and a half sets and we'll see How did the output of the code come in our view? The crown that has come for us That is 0124 Five Smiths was not printed for us Because when I was there then Wilde was always two This means dialogue to Mishra It was definitely there so zero got printed increased to 11 or 21 printed increased to 222 printed and When I entered here, this condition was met So 34 and it hasn't happened yet so please update it again We have become hers, now no one will do anything about it It is ours now and will come back now I am four So this statement did not come four i.e. from this print it out and enlarge it, then We came here and printed it again. given she is still pregnant And whenever six is ​​greater than five ours Then we will decide and then we will do it and then this is our If nothing is getting printed then the way our back end continues This is very important versus these Use we are ahead in many programs If you go and do it then break end like this Continued are two important keywords Those who need to be careful, let's talk now there are some exception handling inside Mistakes happen, that is why we write and because of these mistakes our Ghagra throws, it is similar to this It means that if anybody makes a mistake If it happens then our attention goes towards it there won't be anyone after but inside can catch them that and the rest of the code is now run this you can use it to catch the exception After that the exemptions are finalized in this manner can be done now like if we assume that we have a website on the internet and it has a database now we have some data Try to remove the website from the database But if there is any error in our database In that situation, our website is It will completely stop working meaning it won't work Added to this but if exceptionally What will happen in the database, even if the data is chilli wish only but the rest of the website he is complete, he must be working then this A little bit about understanding exceptions It is different, sperm cannot torch we can't handle this juice we can handle exceptions so Learning Exception Handling then Exception We do handling because of two reasons whose if we have the name of any student then We make it so that We store it within the time marks He is our Physics Chemistry English If we look at the marks of any If you want to get subjective print then how to do it We will get it printed and write marks of two If we have to print the marks of English But let's assume that we are third I want to get the fourth subjective printed Getting any subject marks printed If we don't want sorry inside us then Here we will see if we It should be printed in this manner and run it If you do this then something like this would happen in the fashion show the name of the language went out that our had fixed a date but an attempt was made to Do Rafi the sixth element containing the tags, which is its running out of capacity since then That's why our code started throwing exceptions And if we go into detail about the exceptions Length per index passed out of bounds screen means the length of three after are and to access the index price of Trying to bounce a seal causing an accident if that's what you want Any such mistake should get an option The rest of the things inside are printed if we tried to clean it up After that we were getting it printed If students also do the chord and At the same time, if this question comes then after that if we use that line about him have to do it this way that in the meanwhile statement we feel that There is a possibility of an option coming here There is a fear that programmers may make mistakes It is possible that some exception may occur because of that there we write strike and Now let's make a try block, Jin also There can be an option in all those things We write statements of this opinion Inside you can try and see the statement try to run try to run Do it and if it is exceptional then handle it How to easily change one SIM to that one to catch the kit then catch the section There is also a sharp catch inside which we can see this way obscene and still today its Now we can create a blog inside it will write these If you are catering then its inside the box We will write all those things and all the statements. want to execute once we after catching the exception what happened in your court we marked hey, we made it, we'll fry it Inside the marks we have any index Go there and mark it, now we know that inside this statement the exception is thrown there is a possibility of coming i.e. if the index If we wrote it wrong then an option may appear here if it is exceptional then you can change it take the extraction and catch it Where should I leave that thing called exception? Store it in this meeting and here We have created a class named Exception After caching the exception now from Help If you need to do anything with the section You will write that in the catch block and The statement which comes after this is called Asif Let's keep this and now let's try putting this in. Now our output is different output is different How come there is an option here like we tried it here There must have been a section of onion along with it I did nothing so the block is empty and The line after that is not a student in Java that was not printed before but it is now in print because If we have handled the exception then this Method for Calling an Option We will put the statement inside the try box Writes and after catching the exchange Whatever you want to do, write it down And finally try inside the cash box All the statements that come after this are She is getting normal if our code is not working Even if there is an option in Java, it is still only for Java which important one should we talk about whose Name is Mithun written in maths classes Functions are called false inside Java What are functions and what is the meaning of functions perform any operation that Example of a thermometer, what does it do? measures our body temperature and shows us the same temperature, then a the way he raised the temperature of his body I took the input of and the number that is in When he showed it to us, he gave us some faces When you press the volume button inside the phone If that plus button was ours then The volume of the phone increases louder What happened to the input that we pressed on the button and increased the volume of the phone if we If the aircraft is given a day, then similarly if We have to take the remote exam first Who would take the classroom inside that president There are a lot of buttons, they were cases Individual Messrs then we can use any method press it means if it is something important then it Some crowns will give us if we forward this channel If you want to increase it then press this button our channel will move forward means these food or removed and it's a lot of methods in a single We meet inside the remote and that's why In Java we call Mot as Class So there are many methods inside a class. These maths have different functions now We can create something inside our man glass let's try to subscribe remember that method so we give some input Sometimes the input is soft means we're not giving any input and then I returns a few crowns in a little if That is the method to try it out for you returns nothing if it is not needed He just does some work for us and gives it to us now let's understand this with the help of angle So let's accept what happens now In that code we have to repeatedly print what we have People, we want to get Java done again will write hello is outgoing had happened It happened, I can see it now, but again and again They are writing the statement to us again and again This means that this work is being repeated over and over again. Whenever you are inside our court we are Look inside at such works which are being repeated so what should we do spare a minute for them and what does this method mean If I want to print hello again and again So just like we made fenugreek, we will make a And you have to click on create and here If you want to write then we have made it public here and this Inside we will be understanding that subject Then both of them understood the meaning well This skirt of ours is for us How can we identify the functions When you click, there are two symbols in front of the functions Parents are busy in this If we need to take any input inside then you are taking that input from but Inside print java we need to print any input is not needed and the output it returns We have to type it as well Whenever any function is asked we get a number If it is hanging then we have to type its output in You have to type enter, this much gets uploaded If you have to write double return then the output is There is so much mixing but our print Returning nothing in jha and function Meaning wide late i.e. food is here Return the type of output we want to print jha and inside the function we print I want to do Hello Java and that's it Prince gets only this much printed more than the function then this statement has these three will you remove the statement from here and what will do print will call java any Calling a function means invoking it It happens like we press the volume button on the top of the phone are pressing down on Similarly, we have to call it inside the main function. To perform the function you will have to write its name the two parents will grow up to write and then You will have to put your statement terminator and Then you will have to submit your statement terminator so now we call this function I will do it three times, I will call you three times So this print jha and function of ours is by printing hello three times If we look at Ramnagar from now on, then our In the output we get the reply hello three times. But the system which works with dot print this statement this statement tells us this Work in a systematic way with many tasks there are those who have to do it continue doing their work and this function Inside we will print the name of the tree I have another one here and some of the voice types will not return, just print the name will get it printed let's name it So now inside this function how do we get the name We will get the name, we will take input like this How to take it, I will write it here in string So we need a name for the spring type will be a point for this function function k You will have to pass it inside, now I will print it and there is that I will get my name printed here Now by removing these three cords we can call Let's give the print name and the print name We need to pass a name inside of string type so here we pass So if we pass and print this What will happen to us if we call the name So the output for us is now printed as Let's call it again and write Let's take different names in our house there is no need for it we will separate them and understand us very well according to our Now If we want to add these two numbers then To do the art we will create this function which Adds the numbers and prints them Now to create it we will write public static is same as that in use happens and then we will write avoid because we We will not return anything for this function We will get it printed inside and give it our name We take the print within the same print time will take interior type input one and one input of interior type b then if we get a When he had to take input, he wrote it as normal So in the first function the spring name But we have to take two, so we will give them to Kuma Let's separate this first input here The second input is B and we have typed both of them We could have kept the interior like this here But you could have taken the inch here to string type Also take input and use our If we are rich in two ways then both of us typing teacher and inside this function we what will you do this Now we will create a new variable called sum we will make A plus B. By doing plus B we have made We will take care of it and then get it printed this column is here that we call pass to the print system we will do 2 numbers, first number is taken by one Let's take the second one, this a so we have automatically it came here that Vansh means a It means one and six drops are being added that's on 66 now let's run this chord that you will see that the output for us It has been printed by Dante Bhattyani everybody was there also passed the mix so one plus six 2227 we have it handy It must have been late and that would be our output window if it got printed in this way then use this method in java There are methods inside and the functions that do the work are: we can make them do anything You can give them anything at any time. any type of can be next to them and A lot of work is made easier because of them Now it becomes the only one like this The function is main function inside main function If you see, the input type is like this string of arguments then our terminal Some initial thoughts inside the window Women can pass and those who are normal We cannot pass these features inside the coding but if we talk about the input So this is its input, its rate is also 125 it is oil means there is no data in this function is doing it in the end and public toilet That's where our identifiers come in There are some complex keywords in which we will discuss later you can go and understand then a frog is a simple function which does something like but I don't put in a lot of work this inside the function we can do and all this We have written these functions in our code if you are inside your mean class then of the class There are many functions inside too. If all the normal volumes are there then here But we have to talk about maths very well there are many different methods that we can use to fight You will write and practice by yourself that different Which type can we slow down What are the different things in input and output are there different operations that can be done on a The method can perform the get now inside the We are going to make a mini project By using all the contacts about whom We still have work to do on this mini project what we'll do inside is we'll create a random number We will get the generator done and from our users will ask you which random number to guess This happens if the user guesses a large number if yes, then we will tell them new things that our This number is a little smaller than Lalu's and if The maid who works at a gas station then they will tell that this red Our number is a little higher, so according to this we'll keep doing this until this is the gas does not give the correct number or Then our user finally slapped not stop If I would have done it, then in the beginning from one to hundred The user will generate a number between I will ask you any number from one to hundred Do the gas and if the user ever gets tired the number While doing the gas they have to type which - want to stop like use minus one type will give means type any negative number we will stop there to clean it Go there and show your road number to the user You will give me this number that we have got the gas done I tried to fold this whole project Let's see, first of all we generate will get my number generated, will get the maths done It is about the function of the class Now we have done the range from 200 to there is a small number generator in none from him if we need a phone number then what will we do Here we will multiply the same number 06 and then we'll pass it we'll type inch so that between one and a hundred If we find any volume and we Stored in My Number, now from the user To ask what the number is we have to dry We will put the loop in two i.e. firstly by doing You will see inside from we will type gas number inside this gas user number number We will take the scanner in first of all above 10th Let's make the class like sixth class The package of our Scanner class we call If we import it then this is so that whatever is Candy Crush has been imported here We have created the object, now we will input it to the number Google Play Store will make this number available number in abc dot porn we have number in took the input now will check if our If the user's number is matched with our number then In this case you will get it printed, click here If this does not happen on the number, what does it mean It would last us a little while if it weren't for this and our Gujjar population is very large We will get it printed with the number and if this saliva is not number two then his number will be You will be getting it printed for and this way We subscribed from If the user's number is equal to our number If it becomes equal then arrest will be made in that case I will get that correct number done, otherwise like this sir If the number of is greater than our number then that will be able to print in case that your number There are too many corpses, why don't you make it smaller so our final connective number our number is smaller than that its getting printed in this and the number is this precious you need to make it bigger and if this number is equal to our number if so then we will get a break here because Now we need to run the dot loop repeatedly. If you don't need it then we will do it here instead here we will not be able to bread that We should ask Gujjars once again that their Gas number, what is the light condition inside it The white condition will be that as long as our The number is great sir think 120 accused number eight came because we I have declared within me and within her for declare Your powers are used in mobile so we can't treat it outside let's write it down here if yes then write down our scanner number or We got it inputted as the user number decided that it was Greater Nickel 204 or no and finally what will you do about our number If we get it printed then we will get it printed Let me give you number one, let's get it printed This is how we are, we have kept a close eye on it Let's assume we imported the above channel Then make number-1 in the middle first We have added the gas so do it and if If it is smaller than this then share it more happened but by the time it was a great American Till then our Kunju keeps on inputting 205 Till then our project will keep doing what it is Will continue to work if username is edited Put the volume or else it is fine like this So after that we will get it printed that this Our number is like gassing you i.e. this Inside the whole project the user has to have guest to be done initially in the range of One Sez After that accordingly he tells his number You can now make this cord bigger or smaller I will call and see if you have any I found that we have to do gas from number one to Hundreds assume we are gassing are the fees then we came to know that our number which it is a little smaller and number s-2 is small If we want to gas a big number then it is We could have made it bigger than free, let's say 725 We have done the gas, our number is still small so now we do gas 8 This number of ours is still small, now we will use gas if it is 95 then our number has become bigger then it means We have to guess any number in the range 8695 there is no love for gas continue to number two Stories were our minimum Maximum Vinod Subscribe Number Tubelight Meaning that now three loot number two Small Joe is our number they want it So this is our number 8 and finally our number We got it printed and it is united This is how we folded it From which number gas can be done Apart from this, by using it we can do many things. can make good ones that we can learn even better going forward where are you inside this if you ignore it Should I do it or data structures and Explore algorithms and that is enough can learn all things and computer can do programming if in detail If you explore this language then you will find this This ends today's Java Collector with I have tried my best to You will get a good idea that when How to communicate is different from how to work together Now we have to work, after this we will get placement can prepare for because more Very popular used in placement There is a language as well as an Android app You can learn development or industry I can use this knowledge You can apply and if you like the content If you like it then go down and subscribe we can channel the rest of us You can ignore the videos, you will see them Cloning is going on in the next video leave the pic