Division and Modulo Operator Explained
I am continuing on with my video series on Java programming for beginners. In this video, we discuss Integer division and the modulo operator and I explain in detail how to use them, providing many examples.
In my previous video on arithmetic operators, I ended that video with an example of a division operation that resulted in an unexpected answer. I begin this video with that very example, and explain exactly what is going on.
I also demonstrate how to determine if an integer is an even or odd number.
Lastly, I highlight the danger and the consequence of division by zero operations.
WATCH SOME MORE JAVA TUTORIALS
Enhanced For Loop Explained and Illustrated
https://youtu.be/DMCzrojoHgYFor Loops Explained and Common Pitfalls Highlighted
https://youtu.be/E0gdEuTrokcHow to use the Shortcut Operators
https://youtu.be/zgQRCfEsHIQHow to use the Conditional Operator ( ? : )
https://youtu.be/ELBN9LNWavQCompare Objects - Equality Operator Vs Equals Method
https://youtu.be/tJQlBTnEekQPassing by Value (Object References)
https://youtu.be/BHtfb3lfc-gCommand Line Arguments
https://youtu.be/8lvb7sSDAukHow To Write A Method Part II
https://youtu.be/dNFsljRwZhAHow To Write A Method Part I
https://youtu.be/qQDGYfQPpGgPassing by Value (Primitive Data Types)
https://youtu.be/h9uD7ipqu3wOperator Precedence Explained
https://youtu.be/iWFmd3HZ4dMWhat are Data Types, Variables and Constants?
https://youtu.be/pw0WTlaw74cHow to use Nested If Statements
https://youtu.be/NrYRPr2grdcHow to use simple If Statements
https://youtu.be/OqrgC3IATYIWhat are Control Flow Statements
https://youtu.be/0bWnwpZt67wHow to Write, compile and run your first Java program on Windows
https://youtu.be/EAFERGKdAkoHow to write, compile and run Java programs all within Notepad++
https://youtu.be/NaPlD6YVNnQHow to download and install the Notepad++ editor on Windows
https://youtu.be/bess4G8YG8UAbout the Site π
This site provides links to random videos hosted at YouTube, with the emphasis on random. π₯
Origins of the Idea π±
The original idea for this site stemmed from the need to benchmark the popularity of a video against the general population of YouTube videos. π§
Challenges Faced π€
Obtaining a large sample of videos was crucial for accurate ranking, but YouTube lacks a direct method to gather random video IDs.
Even searching for random strings on YouTube doesn't yield truly random results, complicating the process further. π
Creating Truly Random Links π οΈ
The YouTube API offers additional functions enabling the discovery of more random videos. Through inventive techniques and a touch of space-time manipulation, we've achieved a process yielding nearly 100% random links to YouTube videos.
About YouTube πΊ
YouTube, an American video-sharing website based in San Bruno, California, offers a diverse range of user-generated and corporate media content. π
Content and Users π΅
Users can upload, view, rate, share, and comment on videos, with content spanning video clips, music videos, live streams, and more.
While most content is uploaded by individuals, media corporations like CBS and the BBC also contribute. Unregistered users can watch videos, while registered users enjoy additional privileges such as uploading unlimited videos and adding comments.
Monetization and Impact π€
YouTube and creators earn revenue through Google AdSense, with most videos free to view. Premium channels and subscription services like YouTube Music and YouTube Premium offer ad-free streaming.
As of February 2017, over 400 hours of content were uploaded to YouTube every minute, with the site ranking as the second-most popular globally. By May 2019, this figure exceeded 500 hours per minute. π
List of ours generatorsβ‘
Random YouTube Videos Generator
Random Film and Animation Video Generator
Random Autos and Vehicles Video Generator
Random Music Video Generator
Random Pets and Animals Video Generator
Random Sports Video Generator
Random Travel and Events Video Generator
Random Gaming Video Generator
Random People and Blogs Video Generator
Random Comedy Video Generator
Random Entertainment Video Generator
Random News and Politics Video Generator
Random Howto and Style Video Generator
Random Education Video Generator
Random Science and Technology Video Generator
Random Nonprofits and Activism Video Generator