Java Tutorial: Associativity of Operators in Java

Java Tutorial: Associativity of Operators in Java

परिचय

इस अंश में, हम ऑपरेटर की प्राथमिकता और सहजता के बारे में बात करेंगे। हम ऑपरेटर्स को समझने के लिए उदाहरणों का उपयोग करेंगे।

प्राथमिकता (Precedence)

  • प्राथमिकता से मतलब होता है कि कौन सा ऑपरेटर पहले evaluate होता है।
  • प्राथमिकता की सहायता से, हम operators को evaluate करने में सक्षम होते हैं।
  • Operators की प्राथमिकता में, parentheses ( ) सबसे पहले evaluate होंगी, फिर multiplication (*) and division (/), और फिर addition (+) and subtraction (-)।

सहजता (Associativity)

  • Associativity refers to the order in which operators are evaluated when they have the same precedence.
  • एक्सप्रेशन में सहजता को समझाने के लिए, हम उदाहरण का उपयोग करेंगे।
  • Associativity की मदद से, हम operators को सही क्रम में evaluate कर पाते हैं।

उदाहरण

  • एक उदाहरण में, हमने expression "int a = 6 * 5 - a / 4" को evaluate किया।
  • Expression evaluate होने पर, a = 13 होता है।
  • Java में, brackets operator precedence control नहीं करत

की चीज़ 65 माइनस

इस भाग में, संकेतों के साथ व्याख्या की जाती है कि 65 को माइनस करने पर क्या होता है।

65 minus

  • 65 को माइनस करने पर उपलब्धि होती है।

ایسو سیٹی ویٹی ایتے گئے the star is

इस भाग में, "ایسو سیٹی ویٹی" प्रश्न पर चर्चा होती है।

ایسو سیٹی ویٹی

  • "ایسو سیٹی ویٹی" प्रश्न पर विस्तार से चर्चा होती है।

so not dividing the star چاہئے کہ آپ نے اک پرستنش کئا ھے اصو ستار ويتي کیا ھے so here is the first value of the left left is right so your order of evaluation if your star is tied in the operators then the precedence and the first is associativity then the precedence

इस भाग में, "ایسو سیٹی ویٹی" प्रश्न के संबंध में विस्तार से चर्चा होती है।

اصو ستار ويتي

  • "ایسو سیٹی ویٹی" प्रश्न के संबंध में विस्तार से चर्चा होती है।
  • प्राथमिकता के संकेतों की व्याख्या की जाती है।
  • प्राथमिकता के संकेतों की सहायता से, ऑपरेटरों में "ستार" को कैसे प्राथमिकता मिलती है, और "सहसमन्वय" कि प्राथमिकता होती है।

Here you will see the star and the star are the highest precedence and the precedence is the associativity left right

इस भाग में, संकेतों के साथ व्याख्या की जाती है कि "स्टार" किस प्राथमिकता और सहसमन्वय में होता है।

Star Precedence

  • "स्टार" की प्राथमिकता और सहसमन्वय के संकेतों की व्याख्या की जाती है।
  • "स्टार" की प्राथमिकता "लेफ्ट-राइट" सहसमन्वय में होती है।

And the precedence is the same so I will write the notes

इस भाग में, प्रभुता के संकेतों पर चर्चा होती है और प्रभुता में "प्रभुता" के संकेतों के सहसमन्वय पर चर्चा होती है।

Precedence and Associativity

  • प्रभुता के संकेतों पर चर्चा होती है।
  • "प्रभुता" के संकेतों के सहसमन्वय पर चर्चा होती है।

And understand and tell what is the precedence and what is the associativity

इस भाग में, प्रभुता और सहसमन्वय के संकेतों की प्राथमिकता और सहसमन्वय की व्याख्य

संक्षेपक शीर्षक

अनुभाग अवलोकन: ... (transcript की भाषा में लिखें)

उपविषय के लिए शीर्षक

  • - समयसीमा के साथ प्रमुख बिंदुओं और प्रतिस्पर्धा के संक्षेप में विस्तृत विवरण प्रदान करने के लिए bullet points का प्रयोग करें। हर bullet point, video के संबंधित हिस्से में link होता है: । XXXXs, seconds की integer number होती है। transcript के प्रति timestamp को t=XXs से associate करने के लिए best work possible kare. timestamps advance na kare.

प्रमाणन tips:

  • सुनिश्चित karein ki har section mein 4 se jyada bullet points na ho. Har bullet point mein 25 words se jyada na ho.
  • [] ka upayog timestamps ke liye karein aur () ka upayog video ke corresponding part se link karne ke liye karein.
  • Apne notes ko organize karne aur padhne aur samajhne mein aasan banane ke liye subheadings aur bullet points ka upayog karein. Jab jarurat ho, to timestamps ka upayog karein.
  • Mahatvapurna steps aur insights ko describe karne ke liye bullet points ka upayog karein, jyada se jyada comprehensive hone ki koshish karein.
  • Bullet points ke liye format mein relevant timestamp se link karke timestamps shamil karein.

संक्षेप tips:

  • Agar sirf music baj raha hai ya agar kuch nahi ho raha hai to usko notes mein mention na karein.
  • Sirf transcript se hi content ka upayog karein. Koi bhi additional information add na karein.
  • Titles informative honi chahiye ya fir ek sawal ho sakti hai jiska video jawab deti hai.
  • Titles conclusions nahi honi chahiye kyunki aap sirf video ka ek chota sa hissa le rahe hain.
  • Cite and include timestamps by linking to the relevant timestamp in a block using the format, especially for bullet points.
  • संक्षेप और अध्ययन नोट्स की भाषा और headings transcript की भाषा में होनी चाहिए।
Video description

Java Operator Precedence: Precedence and Associativity of Operators in Java. In this java tutorial in Hindi I have discussed: 1. Precedence of operators. 2. Associativity of operators. 3. Precedence and associativity table. 4. Parenthesis operator. ►This playlist is a part of my Complete Java Course playlist: https://www.youtube.com/playlist?list=PLu0W_9lII9agS67Uits0UnJyrYiXhDS6q ►Source Code + Notes - https://archive.codewithharry.com/videos/java-tutorials-for-beginners-9 ►Ultimate Java CheatSheet: https://archive.codewithharry.com/videos/java-tutorials-for-beginners-1 ►Checkout my English channel here: https://www.youtube.com/ProgrammingWithHarry ►Click here to subscribe - https://www.youtube.com/channel/UCeVMnSShP_Iviwkknt83cww Best Hindi Videos For Learning Programming: ►Learn Python In One Video - https://www.youtube.com/watch?v=ihk_Xglr164 ►Python Complete Course In Hindi - https://www.youtube.com/playlist?list=PLu0W_9lII9agICnT8t4iYVSZ3eykIAOME ►C Language Complete Course In Hindi - https://www.youtube.com/playlist?list=PLu0W_9lII9aiXlHcLx-mDH1Qul38wD3aR&disable_polymer=true ►JavaScript Complete Course In Hindi - https://www.youtube.com/playlist?list=PLu0W_9lII9ajyk081To1Cbt2eI5913SsL ►Learn JavaScript in One Video - https://www.youtube.com/watch?v=onbBV0uFVpo ►Learn PHP In One Video - https://www.youtube.com/watch?v=xW7ro3lwaCI ►Django Complete Course In Hindi - https://www.youtube.com/playlist?list=PLu0W_9lII9ah7DDtYtflgwMwpT3xmjXY9 ►Machine Learning Using Python - https://www.youtube.com/playlist?list=PLu0W_9lII9ai6fAMHp-acBmJONT7Y4BSG ►Creating & Hosting A Website (Tech Blog) Using Python - https://www.youtube.com/playlist?list=PLu0W_9lII9agAiWp6Y41ueUKx1VcTRxmf ►Advanced Python Tutorials - https://www.youtube.com/playlist?list=PLu0W_9lII9aiJWQ7VhY712fuimEpQZYp4 ►Object Oriented Programming In Python - https://www.youtube.com/playlist?list=PLu0W_9lII9ahfRrhFcoB-4lpp9YaBmdCP ►Python Data Science and Big Data Tutorials - https://www.youtube.com/playlist?list=PLu0W_9lII9agK8pojo23OHiNz3Jm6VQCH Follow Me On Social Media ►Website (created using Flask) - http://www.codewithharry.com ►Facebook - https://www.facebook.com/CodeWithHarry ►Instagram - https://www.instagram.com/codewithharry/ ►Personal Facebook A/c - https://www.facebook.com/geekyharis Twitter - https://twitter.com/Haris_Is_Here