<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>basics Archives - SoftUni Global</title>
	<atom:link href="https://softuni.org/tag/basics/feed/" rel="self" type="application/rss+xml" />
	<link>https://softuni.org/tag/basics/</link>
	<description>Learn Programming and Start a Developer Job</description>
	<lastBuildDate>Sun, 08 Jan 2023 22:09:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://softuni.org/wp-content/uploads/2022/04/cropped-SoftUni-Global-Logo-Square-notext-32x32.png</url>
	<title>basics Archives - SoftUni Global</title>
	<link>https://softuni.org/tag/basics/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What are Nested Loops? &#8211; Java Basics Tutorial (Part 9)</title>
		<link>https://softuni.org/code-lessons/what-are-nested-loops-java-basics-part-9/</link>
					<comments>https://softuni.org/code-lessons/what-are-nested-loops-java-basics-part-9/#respond</comments>
		
		<dc:creator><![CDATA[Aleksandar Peev]]></dc:creator>
		<pubDate>Mon, 25 Oct 2021 11:07:00 +0000</pubDate>
				<category><![CDATA[Code Lessons]]></category>
		<category><![CDATA[Java Basics Free Course]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[code lessons]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[java-tutorial]]></category>
		<category><![CDATA[javabasics]]></category>
		<category><![CDATA[nested-loop]]></category>
		<category><![CDATA[tutorial]]></category>
		<guid isPermaLink="false">https://softuni.org/?p=10142</guid>

					<description><![CDATA[<p>In this lesson, we’ll try to untangle the complexity of Nested Loops.</p>
<p>The post <a href="https://softuni.org/code-lessons/what-are-nested-loops-java-basics-part-9/">What are Nested Loops? &#8211; Java Basics Tutorial (Part 9)</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="10142" class="elementor elementor-10142" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-5d5405e elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="5d5405e" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0d32134" data-id="0d32134" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-9216798 elementor-widget elementor-widget-text-editor" data-id="9216798" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p style="text-align: left;">A nested loop is the placement of a loop inside another loop to execute the operations that need multiple loop traversals, such as printing star patterns. Although it helps to make our task easier, it also increases the complexity of the program thus must be used efficiently.</p><p style="text-align: left;"><img decoding="async" class=" wp-image-10160 alignright" src="https://softuni.org/wp-content/uploads/2021/10/nested-loop-example-2.png" alt="" width="240" height="87" /><span style="font-weight: 400;">Now, onto the important part: if a loop exists inside the body of another loop, it is called a </span><b>nested loop</b><span style="font-weight: 400;">. It has no </span><b>limitations</b><span style="font-weight: 400;"> that only similar types of loops can be nested. </span></p><p style="text-align: left;"><span style="font-weight: 400;">We can </span><b>nest </b><span style="font-weight: 400;">any loop inside any other loop, such as </span><b>while loop</b><span style="font-weight: 400;"> inside</span><b> for loop,</b><span style="font-weight: 400;"> and all different combinations are accepted.</span></p><p style="text-align: left;"> </p><p style="text-align: left;"><span style="font-weight: 400;"> <img fetchpriority="high" decoding="async" class="wp-image-23749 size-full aligncenter" src="https://softuni.org/wp-content/uploads/2023/01/diagram-nested-loops.png" alt="" width="600" height="569" srcset="https://softuni.org/wp-content/uploads/2023/01/diagram-nested-loops.png 600w, https://softuni.org/wp-content/uploads/2023/01/diagram-nested-loops-300x285.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></span></p><p style="text-align: left;">In the chart, first, when we enter the body of the program, a statement such as <strong>initialization</strong> gets executed. Once a loop is found, the program checks for the <strong>condition</strong> for the outer loop, and if it returns <strong>true</strong>, it enters the loop. Once it enters the outer loop and encounters the inner loop, variables are <strong>initialized</strong> if any are present. Then it checks the <strong>condition</strong> for the inner loop, and if it returns <strong>true</strong>, the program enters into the inner loop. This procedure is repeated several times, and then the program exits from the second loop, then the first loop, and move to statements present after the loop.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-88292b4 elementor-widget elementor-widget-video" data-id="88292b4" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/FU90zeFZZFs&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f6c0ddd elementor-widget elementor-widget-text-editor" data-id="f6c0ddd" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2>Lesson Topics</h2><div><div>In this tutorial we cover the following topics:</div><ul><li><b>Complex Loops</b></li><li><b>Nested Loops</b></li><li><b>Nested For-Loops</b></li><li><b>Nested While Loops</b></li><li><b>Nesting While and For Loops</b></li></ul></div>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-a584674 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="a584674" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-13110ef" data-id="13110ef" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
							</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-a0aff0b elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="a0aff0b" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-48c6c18" data-id="48c6c18" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-8cc2609 elementor-widget elementor-widget-template" data-id="8cc2609" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
							<div class="elementor-template">
					<div data-elementor-type="section" data-elementor-id="20669" class="elementor elementor-20669" data-elementor-post-type="elementor_library">
					<section class="elementor-section elementor-top-section elementor-element elementor-element-2753e750 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="2753e750" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b04b054" data-id="b04b054" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-50498bde elementor-widget elementor-widget-heading" data-id="50498bde" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Practical Exercises</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-6264b7a9 elementor-widget elementor-widget-text-editor" data-id="6264b7a9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong><span style="font-size: 16px; font-style: normal;">W</span></strong><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">atch the video</span><span style="font-size: 16px; font-style: normal; font-weight: 400;"> and </span><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">solve the problems</span><span style="font-size: 16px; font-style: normal; font-weight: 400;">. </span>To better understand the material, do the<strong> coding exercises</strong> and implement the knowledge you acquired. Writing code is the only way to master the <b>skill of code</b>.</p><p>Submit your code in the <b>SoftUni Judge System</b>:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5a06f887 elementor-cta--layout-image-right elementor-cta--mobile-layout-image-above elementor-cta--skin-classic elementor-animated-content elementor-bg-transform elementor-bg-transform-zoom-in elementor-widget elementor-widget-call-to-action" data-id="5a06f887" data-element_type="widget" data-widget_type="call-to-action.default">
				<div class="elementor-widget-container">
							<a class="elementor-cta" href="https://judge.softuni.org/Contests/3294/Full-Java-Foundations-Course" target="_blank">
					<div class="elementor-cta__bg-wrapper">
				<div class="elementor-cta__bg elementor-bg" style="background-image: url(https://softuni.org/wp-content/uploads/2021/10/softuni-judge-system.png);" role="img" aria-label="softuni-judge-system"></div>
				<div class="elementor-cta__bg-overlay"></div>
			</div>
							<div class="elementor-cta__content">
				
									<h3 class="elementor-cta__title elementor-cta__content-item elementor-content-item">
						Hands-on Exercises in the SoftUni Judge					</h3>
				
									<div class="elementor-cta__description elementor-cta__content-item elementor-content-item">
						Submit your exercise code and check its correctness in the SoftUni Judge.					</div>
				
									<div class="elementor-cta__button-wrapper elementor-cta__content-item elementor-content-item ">
					<span class="elementor-cta__button elementor-button elementor-size-md">
						Go To Judge					</span>
					</div>
							</div>
							<div class="elementor-ribbon elementor-ribbon-left">
				<div class="elementor-ribbon-inner">
					free				</div>
			</div>
				</a>
						</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
				</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f972417 elementor-widget elementor-widget-heading" data-id="f972417" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default"><div data-id="f972417" data-element_type="widget" data-widget_type="heading.default" style="width: 760px;font-family: Montserrat, sans-serif;font-size: 15px;white-space: normal"><div><h2>Exercises: Problem Description</h2></div></div></h2>				</div>
				</div>
				<div class="elementor-element elementor-element-37e6760 elementor-widget elementor-widget-pdfjs_viewer" data-id="37e6760" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-9-Nested-Loops-Exercises.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 820px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
				<div class="elementor-element elementor-element-7e4b996 elementor-widget elementor-widget-heading" data-id="7e4b996" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default"><div data-id="f972417" data-element_type="widget" data-widget_type="heading.default" style="width: 760px;font-family: Montserrat, sans-serif;font-size: 15px;white-space: normal"><div><h2>Lesson Slides</h2></div></div></h2>				</div>
				</div>
				<div class="elementor-element elementor-element-5c5b95d elementor-widget elementor-widget-pdfjs_viewer" data-id="5c5b95d" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-9-Nested-Loops.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 820px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://softuni.org/code-lessons/what-are-nested-loops-java-basics-part-9/">What are Nested Loops? &#8211; Java Basics Tutorial (Part 9)</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://softuni.org/code-lessons/what-are-nested-loops-java-basics-part-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java Basics Tutorial &#8211; Part 8 &#8211; While Loops</title>
		<link>https://softuni.org/code-lessons/java-basics-tutorial-part-8-while-loops/</link>
					<comments>https://softuni.org/code-lessons/java-basics-tutorial-part-8-while-loops/#respond</comments>
		
		<dc:creator><![CDATA[Aleksandar Peev]]></dc:creator>
		<pubDate>Sun, 24 Oct 2021 11:06:00 +0000</pubDate>
				<category><![CDATA[Code Lessons]]></category>
		<category><![CDATA[Java Basics Free Course]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[code lessons]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[java-tutorial]]></category>
		<category><![CDATA[javabasics]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[while-loop]]></category>
		<guid isPermaLink="false">https://softuni.org/?p=10086</guid>

					<description><![CDATA[<p>In this part of the Java Bascics Tutorial, we take a look at While Loops.</p>
<p>The post <a href="https://softuni.org/code-lessons/java-basics-tutorial-part-8-while-loops/">Java Basics Tutorial &#8211; Part 8 &#8211; While Loops</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="10086" class="elementor elementor-10086" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-5d5405e elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="5d5405e" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0d32134" data-id="0d32134" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-9216798 elementor-widget elementor-widget-text-editor" data-id="9216798" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><img decoding="async" class=" wp-image-10529 alignleft" src="https://softuni.org/wp-content/uploads/2022/01/while-loop-model.png" alt="" width="202" height="108" />A <strong>While Loop</strong> is a control flow statement that allows code to be executed repeatedly based on a given <strong>boolean</strong> condition. The <strong>While Loop</strong> can be thought of as a repeating if statement.</p><p>In the expression, we have to test the condition. If the condition evaluates to <strong>true</strong>, then we will execute the body of the loop and go to <strong>update </strong>the expression. After executing the loop body, this expression increments/decrements the loop variable by some value. <img loading="lazy" decoding="async" class="size-medium wp-image-10528 alignright" src="https://softuni.org/wp-content/uploads/2022/01/java-while-loop-257x300.png" alt="" width="257" height="300" srcset="https://softuni.org/wp-content/uploads/2022/01/java-while-loop-257x300.png 257w, https://softuni.org/wp-content/uploads/2022/01/java-while-loop.png 361w" sizes="(max-width: 257px) 100vw, 257px" />Otherwise, we will exit from the <strong>While Loop</strong>.</p><p><span data-preserver-spaces="true">How does <strong>While Loop</strong> execute?</span></p><ol><li><span data-preserver-spaces="true">Control falls into the <strong>While Loop</strong>.</span></li><li><span data-preserver-spaces="true">The flow jumps to the condition</span></li><li><span data-preserver-spaces="true">The condition is tested.</span><ol><li class="ql-indent-1"><span data-preserver-spaces="true">If it is <strong>true</strong>, the flow goes into the body.</span></li><li class="ql-indent-1"><span data-preserver-spaces="true">If it is <strong>false</strong>, the flow goes outside the loop</span></li></ol></li><li><span data-preserver-spaces="true">The statements inside the body of the loop get executed.</span></li><li><span data-preserver-spaces="true">The <strong>update</strong> takes place.</span></li><li><span data-preserver-spaces="true">Control flows back to Step 2.</span></li></ol><p><span data-preserver-spaces="true"><img loading="lazy" decoding="async" class="size-full wp-image-10527 alignleft" src="https://softuni.org/wp-content/uploads/2022/01/break-operator.png" alt="" width="261" height="161" />One more thing, which we have already read in the previous article about <a href="https://softuni.org/code-lessons/java-basics-tutorial-part-6-advanced-conditional-statements">advanced conditional statements</a>, is the <strong>break </strong>statement. It ends the loop immediately when it is encountered. The <strong>break</strong> statement is usually used with a <strong>conditional</strong> statement inside the loop.<br /></span></p><p>Both <strong>While</strong> and <strong>For Loops</strong> repeat a block of code. We use For Loops when we preliminary know the number of iterations. If we don&#8217;t know when the exit condition will be met, we use <strong>While Loops</strong>.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-88292b4 elementor-widget elementor-widget-video" data-id="88292b4" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/dG2Mcibyw3E&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f6c0ddd elementor-widget elementor-widget-text-editor" data-id="f6c0ddd" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2>Lesson Topics</h2><div><div>In this video we review the following topics:</div><ul><li><b>While Loops</b></li><li><b>While or For Loop?</b></li><li><b>Operator Break</b></li><li><b>Infinite Loops</b></li></ul></div>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-57e8de5 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="57e8de5" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ad0610f" data-id="ad0610f" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
							</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-a0aff0b elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="a0aff0b" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-48c6c18" data-id="48c6c18" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-6b5ca07 elementor-widget elementor-widget-template" data-id="6b5ca07" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
							<div class="elementor-template">
					<div data-elementor-type="section" data-elementor-id="20669" class="elementor elementor-20669" data-elementor-post-type="elementor_library">
					<section class="elementor-section elementor-top-section elementor-element elementor-element-2753e750 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="2753e750" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b04b054" data-id="b04b054" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-50498bde elementor-widget elementor-widget-heading" data-id="50498bde" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Practical Exercises</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-6264b7a9 elementor-widget elementor-widget-text-editor" data-id="6264b7a9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong><span style="font-size: 16px; font-style: normal;">W</span></strong><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">atch the video</span><span style="font-size: 16px; font-style: normal; font-weight: 400;"> and </span><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">solve the problems</span><span style="font-size: 16px; font-style: normal; font-weight: 400;">. </span>To better understand the material, do the<strong> coding exercises</strong> and implement the knowledge you acquired. Writing code is the only way to master the <b>skill of code</b>.</p><p>Submit your code in the <b>SoftUni Judge System</b>:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5a06f887 elementor-cta--layout-image-right elementor-cta--mobile-layout-image-above elementor-cta--skin-classic elementor-animated-content elementor-bg-transform elementor-bg-transform-zoom-in elementor-widget elementor-widget-call-to-action" data-id="5a06f887" data-element_type="widget" data-widget_type="call-to-action.default">
				<div class="elementor-widget-container">
							<a class="elementor-cta" href="https://judge.softuni.org/Contests/3294/Full-Java-Foundations-Course" target="_blank">
					<div class="elementor-cta__bg-wrapper">
				<div class="elementor-cta__bg elementor-bg" style="background-image: url(https://softuni.org/wp-content/uploads/2021/10/softuni-judge-system.png);" role="img" aria-label="softuni-judge-system"></div>
				<div class="elementor-cta__bg-overlay"></div>
			</div>
							<div class="elementor-cta__content">
				
									<h3 class="elementor-cta__title elementor-cta__content-item elementor-content-item">
						Hands-on Exercises in the SoftUni Judge					</h3>
				
									<div class="elementor-cta__description elementor-cta__content-item elementor-content-item">
						Submit your exercise code and check its correctness in the SoftUni Judge.					</div>
				
									<div class="elementor-cta__button-wrapper elementor-cta__content-item elementor-content-item ">
					<span class="elementor-cta__button elementor-button elementor-size-md">
						Go To Judge					</span>
					</div>
							</div>
							<div class="elementor-ribbon elementor-ribbon-left">
				<div class="elementor-ribbon-inner">
					free				</div>
			</div>
				</a>
						</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
				</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f972417 elementor-widget elementor-widget-heading" data-id="f972417" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Exercises: Problem Descriptions</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-3bd3891 elementor-widget elementor-widget-pdfjs_viewer" data-id="3bd3891" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-8-While-Loops-Exercises.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 1020px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
				<div class="elementor-element elementor-element-00384d0 elementor-widget elementor-widget-heading" data-id="00384d0" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Lesson Slides</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-37e6760 elementor-widget elementor-widget-pdfjs_viewer" data-id="37e6760" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-8-While-Loops.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 1020px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://softuni.org/code-lessons/java-basics-tutorial-part-8-while-loops/">Java Basics Tutorial &#8211; Part 8 &#8211; While Loops</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://softuni.org/code-lessons/java-basics-tutorial-part-8-while-loops/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java Basics Tutorial &#8211; Part 7 &#8211; For Loops</title>
		<link>https://softuni.org/code-lessons/java-basics-tutorial-part-7-for-loops/</link>
					<comments>https://softuni.org/code-lessons/java-basics-tutorial-part-7-for-loops/#respond</comments>
		
		<dc:creator><![CDATA[Aleksandar Peev]]></dc:creator>
		<pubDate>Sat, 23 Oct 2021 11:06:00 +0000</pubDate>
				<category><![CDATA[Code Lessons]]></category>
		<category><![CDATA[Java Basics Free Course]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[code lessons]]></category>
		<category><![CDATA[for-loop]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[java-tutorial]]></category>
		<category><![CDATA[javabasics]]></category>
		<category><![CDATA[tutorial]]></category>
		<guid isPermaLink="false">https://softuni.org/?p=10039</guid>

					<description><![CDATA[<p>In this lesson of the Java Basics Tutorial, we take a look at For Loops.</p>
<p>The post <a href="https://softuni.org/code-lessons/java-basics-tutorial-part-7-for-loops/">Java Basics Tutorial &#8211; Part 7 &#8211; For Loops</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="10039" class="elementor elementor-10039" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-5d5405e elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="5d5405e" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0d32134" data-id="0d32134" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-9216798 elementor-widget elementor-widget-text-editor" data-id="9216798" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><span data-preserver-spaces="true">In programming, a loop is used to repeat a block of code until a specified condition is met. The<strong> For Loop</strong> is best when you want to do something for a fixed number of times.</span></p><p><span data-preserver-spaces="true"><img loading="lazy" decoding="async" class="size-medium wp-image-10515 alignright" src="https://softuni.org/wp-content/uploads/2022/01/for-loop-diagram-214x300.jpg" alt="" width="214" height="300" srcset="https://softuni.org/wp-content/uploads/2022/01/for-loop-diagram-214x300.jpg 214w, https://softuni.org/wp-content/uploads/2022/01/for-loop-diagram.jpg 340w" sizes="(max-width: 214px) 100vw, 214px" />How does <strong>For Loop</strong> work?</span></p><ol><li>Control falls into the <strong>For Loop</strong>. <strong>Initialization</strong> is done.</li><li>The flow jumps to the <strong>Condition.</strong></li><li>The <strong>Condition</strong> is tested.<ol><li>If it is <strong>true</strong>, the flow goes into the body.</li><li>If it is <strong>false</strong>, the flow goes outside the loop.</li></ol></li><li>The statements inside the body of the loop get executed.</li><li>The <strong>update</strong> takes place, and the flow goes to Step 3 again.</li><li>The <strong>For Loop</strong> has ended, and the flow has gone outside.</li></ol><p><span data-preserver-spaces="true">This process goes on until the test expression is <strong>false</strong>. When the test expression is <strong>false</strong>, the loop terminates.</span></p><p style="text-align: justify;">Say we want to loop over a range of numbers and print out each one along the way. We can do this best with a <strong>For Loop</strong>. We will start from the first number, print it out, move to the next number to do the same thing, and continue until we’ve printed each number. Let’s print the numbers zero through nine:</p><p style="text-align: center;"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-10516" src="https://softuni.org/wp-content/uploads/2022/01/for-loop-example-2-300x75.png" alt="" width="300" height="75" srcset="https://softuni.org/wp-content/uploads/2022/01/for-loop-example-2-300x75.png 300w, https://softuni.org/wp-content/uploads/2022/01/for-loop-example-2.png 323w" sizes="(max-width: 300px) 100vw, 300px" /></p><p>Let’s look at the first line of the <strong>For Loop</strong> and the three parts necessary to make it work. First, we have an<strong> initialization</strong> expression, then <strong>termination</strong> expression, and <strong>increment</strong> expression in the end.</p><p><img loading="lazy" decoding="async" class=" wp-image-10518 alignright" src="https://softuni.org/wp-content/uploads/2022/01/for-loop-picture-300x143.png" alt="" width="342" height="163" srcset="https://softuni.org/wp-content/uploads/2022/01/for-loop-picture-300x143.png 300w, https://softuni.org/wp-content/uploads/2022/01/for-loop-picture-600x285.png 600w, https://softuni.org/wp-content/uploads/2022/01/for-loop-picture-1024x486.png 1024w, https://softuni.org/wp-content/uploads/2022/01/for-loop-picture-768x365.png 768w, https://softuni.org/wp-content/uploads/2022/01/for-loop-picture-1536x730.png 1536w, https://softuni.org/wp-content/uploads/2022/01/for-loop-picture.png 1825w" sizes="(max-width: 342px) 100vw, 342px" />The <strong>initialization</strong> expression initializes the loop and is only executed once when the loop starts. That is where you must declare and initialize a variable, usually of type int, to hold an initial number that will be used to loop until it reaches a specific value. That can be thought of as the start of the range to iterate over. In our case, we started at 0.</p><p>The <strong>For Loop</strong> will continue looping until the <strong>termination</strong> expression evaluates to <strong>false</strong>. The <strong>termination</strong> expression is evaluated before each iteration of the loop, and it must return a <strong>boolean</strong> to decide whether or not to continue looping. If the <strong>boolean</strong> returned is equal to <strong>true</strong>, we will run the body of our <strong>For Loop</strong> again. In our case, the loop terminates after it prints 9.</p><p><img loading="lazy" decoding="async" class=" wp-image-10519 alignright" src="https://softuni.org/wp-content/uploads/2022/01/for-loops-300x205.png" alt="for-loops" width="306" height="209" srcset="https://softuni.org/wp-content/uploads/2022/01/for-loops-300x205.png 300w, https://softuni.org/wp-content/uploads/2022/01/for-loops.png 460w" sizes="(max-width: 306px) 100vw, 306px" />The increment expression is executed after each iteration of the loop. To increment the variable, we initialize it by using the<strong> ++</strong> operator. That allows the <strong>termination</strong> expression to know how many times the loop loops. The <strong>initialization</strong> variable count, in our example, starts at 0, and it’s printed out. Then the <strong>incrementer</strong> increments it, and the next iteration of the loop runs to print the new value and continues that way until it prints 9.</p><p>In conclusion, you should use a <strong>For Loop</strong> when you know how many times the loop should run. There are other more<strong> advanced iteration structures</strong> that we will look at in the next article.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-88292b4 elementor-widget elementor-widget-video" data-id="88292b4" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/VyoaWLnbDi0&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f6c0ddd elementor-widget elementor-widget-text-editor" data-id="f6c0ddd" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2>Lesson Topics</h2><div><div>In this video we review the following topics:</div><ul><li><b>Increment adn Decrement</b><b></b></li><li><b>For Loops</b></li><li><b>Loops with a Step</b></li><li><b>Iterating over Characters</b></li><li><b>Infinite Loops</b></li></ul></div>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-81569e6 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="81569e6" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b5437bf" data-id="b5437bf" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
							</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-a0aff0b elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="a0aff0b" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-48c6c18" data-id="48c6c18" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-801102c elementor-widget elementor-widget-template" data-id="801102c" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
							<div class="elementor-template">
					<div data-elementor-type="section" data-elementor-id="20669" class="elementor elementor-20669" data-elementor-post-type="elementor_library">
					<section class="elementor-section elementor-top-section elementor-element elementor-element-2753e750 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="2753e750" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b04b054" data-id="b04b054" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-50498bde elementor-widget elementor-widget-heading" data-id="50498bde" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Practical Exercises</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-6264b7a9 elementor-widget elementor-widget-text-editor" data-id="6264b7a9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong><span style="font-size: 16px; font-style: normal;">W</span></strong><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">atch the video</span><span style="font-size: 16px; font-style: normal; font-weight: 400;"> and </span><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">solve the problems</span><span style="font-size: 16px; font-style: normal; font-weight: 400;">. </span>To better understand the material, do the<strong> coding exercises</strong> and implement the knowledge you acquired. Writing code is the only way to master the <b>skill of code</b>.</p><p>Submit your code in the <b>SoftUni Judge System</b>:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5a06f887 elementor-cta--layout-image-right elementor-cta--mobile-layout-image-above elementor-cta--skin-classic elementor-animated-content elementor-bg-transform elementor-bg-transform-zoom-in elementor-widget elementor-widget-call-to-action" data-id="5a06f887" data-element_type="widget" data-widget_type="call-to-action.default">
				<div class="elementor-widget-container">
							<a class="elementor-cta" href="https://judge.softuni.org/Contests/3294/Full-Java-Foundations-Course" target="_blank">
					<div class="elementor-cta__bg-wrapper">
				<div class="elementor-cta__bg elementor-bg" style="background-image: url(https://softuni.org/wp-content/uploads/2021/10/softuni-judge-system.png);" role="img" aria-label="softuni-judge-system"></div>
				<div class="elementor-cta__bg-overlay"></div>
			</div>
							<div class="elementor-cta__content">
				
									<h3 class="elementor-cta__title elementor-cta__content-item elementor-content-item">
						Hands-on Exercises in the SoftUni Judge					</h3>
				
									<div class="elementor-cta__description elementor-cta__content-item elementor-content-item">
						Submit your exercise code and check its correctness in the SoftUni Judge.					</div>
				
									<div class="elementor-cta__button-wrapper elementor-cta__content-item elementor-content-item ">
					<span class="elementor-cta__button elementor-button elementor-size-md">
						Go To Judge					</span>
					</div>
							</div>
							<div class="elementor-ribbon elementor-ribbon-left">
				<div class="elementor-ribbon-inner">
					free				</div>
			</div>
				</a>
						</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
				</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f972417 elementor-widget elementor-widget-heading" data-id="f972417" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Exercises: Problem Descriptions</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-3d2f046 elementor-widget elementor-widget-pdfjs_viewer" data-id="3d2f046" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-7-For-Loops-Exercises.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 1020px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
				<div class="elementor-element elementor-element-a49cfaa elementor-widget elementor-widget-heading" data-id="a49cfaa" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Lesson Slides</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-37e6760 elementor-widget elementor-widget-pdfjs_viewer" data-id="37e6760" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-7-For-Loops.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 1020px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://softuni.org/code-lessons/java-basics-tutorial-part-7-for-loops/">Java Basics Tutorial &#8211; Part 7 &#8211; For Loops</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://softuni.org/code-lessons/java-basics-tutorial-part-7-for-loops/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java Basics Tutorial &#8211; Part 6 &#8211; Advanced Conditional Statements</title>
		<link>https://softuni.org/code-lessons/java-basics-tutorial-part-6-advanced-conditional-statements/</link>
					<comments>https://softuni.org/code-lessons/java-basics-tutorial-part-6-advanced-conditional-statements/#respond</comments>
		
		<dc:creator><![CDATA[Aleksandar Peev]]></dc:creator>
		<pubDate>Fri, 22 Oct 2021 11:06:00 +0000</pubDate>
				<category><![CDATA[Code Lessons]]></category>
		<category><![CDATA[Java Basics Free Course]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[code lessons]]></category>
		<category><![CDATA[conditional statements]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[java-tutorial]]></category>
		<category><![CDATA[javabasics]]></category>
		<category><![CDATA[switch-case]]></category>
		<category><![CDATA[tutorial]]></category>
		<guid isPermaLink="false">https://softuni.org/?p=9984</guid>

					<description><![CDATA[<p>In this part of the Java Basics Tutorial, we look at Advanced Conditional Statements.</p>
<p>The post <a href="https://softuni.org/code-lessons/java-basics-tutorial-part-6-advanced-conditional-statements/">Java Basics Tutorial &#8211; Part 6 &#8211; Advanced Conditional Statements</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="9984" class="elementor elementor-9984" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-5d5405e elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="5d5405e" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0d32134" data-id="0d32134" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-9216798 elementor-widget elementor-widget-text-editor" data-id="9216798" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>There may be a situation when you want to check for another condition after a condition resolves to true. In such a situation, you can use <strong>nested conditional statements</strong>. In them, you can have a statement inside another statement and so on.</p><p>A <strong>Switch Statement</strong> is usually more efficient than a set of <strong>nested</strong> <strong>ifs</strong>. When we have to choose which one to use, it&#8217;s based on readability and the expression that the statement is testing. We use a <strong>switch statement</strong> to test the value of a variable against a list of case values, while we use an <strong>if-else statement</strong> for taking a decision.</p><p><strong><img loading="lazy" decoding="async" class="size-medium wp-image-10509 aligncenter" src="https://softuni.org/wp-content/uploads/2022/01/switch-case-computer-300x211.png" alt="switch-case-computer" width="300" height="211" srcset="https://softuni.org/wp-content/uploads/2022/01/switch-case-computer-300x211.png 300w, https://softuni.org/wp-content/uploads/2022/01/switch-case-computer.png 460w" sizes="(max-width: 300px) 100vw, 300px" /></strong></p><p style="text-align: left;"><strong>If-else statement</strong> evaluates <strong>integer</strong>, <strong>character</strong>, <strong>pointer</strong>, <strong>floating-point type</strong>, or <strong>boolean type</strong>. On the other hand, the <strong>switch statement</strong> evaluates only character or an integer datatype. It’s known to be hard to edit <strong>if-else statements</strong> since it’s tedious to trace where the correction is required. Many people agree that it’s much simpler to correct <strong>switch statements</strong> since they’re easy to trace.</p><p>There can be any number of case statements within a <strong>switch statement</strong>. Each case is followed by the value to be compared to and after that a colon. When the variable being <strong>switched on</strong> is equal to a case, the statements following that case will execute until a <strong>break</strong> statement is reached. If that happens, the <strong>switch</strong> terminates, and the flow of control jumps to the next line following the<strong> switch statement</strong>. Not every case needs to contain a <strong>break</strong>. If no <strong>break</strong> appears, the flow of control will fall through until a <strong>break</strong> is reached. all the <strong>case statements</strong> will get executed as soon as the compiler finds a comparison to be <strong>true</strong>.</p><p><img loading="lazy" decoding="async" class="size-medium wp-image-10478 aligncenter" src="https://softuni.org/wp-content/uploads/2022/01/2-300x215.png" alt="Guy-It-Problem" width="300" height="215" srcset="https://softuni.org/wp-content/uploads/2022/01/2-300x215.png 300w, https://softuni.org/wp-content/uploads/2022/01/2-600x429.png 600w, https://softuni.org/wp-content/uploads/2022/01/2.png 728w" sizes="(max-width: 300px) 100vw, 300px" /></p><p>A<strong> switch statement</strong> can have an optional <strong>default case</strong>, which must appear at the end of the <strong>switch</strong>. The <strong>default case</strong> can be used to perform a task when none of the cases are <strong>true</strong>. No <strong>break</strong> is needed in the <strong>default case</strong>. The <strong> switch statement</strong> works much faster than an equivalent <strong>if-else statement</strong>. During execution, instead of checking which case is matching, it only decides which case has to execute. It’s more readable compared to <strong>if-else statements</strong>.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-88292b4 elementor-widget elementor-widget-video" data-id="88292b4" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/L4KtlGD5cbk&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f6c0ddd elementor-widget elementor-widget-text-editor" data-id="f6c0ddd" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2>Lesson Topics</h2><div><div>In this video we review the following topics:</div><ul><li><b>Complex Control-Flow</b></li><li><b>Nested Conditions</b></li><li><b>Logical Operators</b></li><li><b>Switch-Case</b></li><li><b>Multi-Label Switch-Case</b></li></ul></div>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-80e55fb elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="80e55fb" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6e379fd" data-id="6e379fd" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
							</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-a0aff0b elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="a0aff0b" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-48c6c18" data-id="48c6c18" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-a9e4ad3 elementor-widget elementor-widget-template" data-id="a9e4ad3" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
							<div class="elementor-template">
					<div data-elementor-type="section" data-elementor-id="20669" class="elementor elementor-20669" data-elementor-post-type="elementor_library">
					<section class="elementor-section elementor-top-section elementor-element elementor-element-2753e750 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="2753e750" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b04b054" data-id="b04b054" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-50498bde elementor-widget elementor-widget-heading" data-id="50498bde" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Practical Exercises</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-6264b7a9 elementor-widget elementor-widget-text-editor" data-id="6264b7a9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong><span style="font-size: 16px; font-style: normal;">W</span></strong><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">atch the video</span><span style="font-size: 16px; font-style: normal; font-weight: 400;"> and </span><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">solve the problems</span><span style="font-size: 16px; font-style: normal; font-weight: 400;">. </span>To better understand the material, do the<strong> coding exercises</strong> and implement the knowledge you acquired. Writing code is the only way to master the <b>skill of code</b>.</p><p>Submit your code in the <b>SoftUni Judge System</b>:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5a06f887 elementor-cta--layout-image-right elementor-cta--mobile-layout-image-above elementor-cta--skin-classic elementor-animated-content elementor-bg-transform elementor-bg-transform-zoom-in elementor-widget elementor-widget-call-to-action" data-id="5a06f887" data-element_type="widget" data-widget_type="call-to-action.default">
				<div class="elementor-widget-container">
							<a class="elementor-cta" href="https://judge.softuni.org/Contests/3294/Full-Java-Foundations-Course" target="_blank">
					<div class="elementor-cta__bg-wrapper">
				<div class="elementor-cta__bg elementor-bg" style="background-image: url(https://softuni.org/wp-content/uploads/2021/10/softuni-judge-system.png);" role="img" aria-label="softuni-judge-system"></div>
				<div class="elementor-cta__bg-overlay"></div>
			</div>
							<div class="elementor-cta__content">
				
									<h3 class="elementor-cta__title elementor-cta__content-item elementor-content-item">
						Hands-on Exercises in the SoftUni Judge					</h3>
				
									<div class="elementor-cta__description elementor-cta__content-item elementor-content-item">
						Submit your exercise code and check its correctness in the SoftUni Judge.					</div>
				
									<div class="elementor-cta__button-wrapper elementor-cta__content-item elementor-content-item ">
					<span class="elementor-cta__button elementor-button elementor-size-md">
						Go To Judge					</span>
					</div>
							</div>
							<div class="elementor-ribbon elementor-ribbon-left">
				<div class="elementor-ribbon-inner">
					free				</div>
			</div>
				</a>
						</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
				</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f972417 elementor-widget elementor-widget-heading" data-id="f972417" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Exercises: Problem Descriptions</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-4dfc0fc elementor-widget elementor-widget-pdfjs_viewer" data-id="4dfc0fc" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-6-Advanced-Conditional-Statements-Exercises.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 1020px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
				<div class="elementor-element elementor-element-8c147f1 elementor-widget elementor-widget-heading" data-id="8c147f1" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Lesson Slides</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-37e6760 elementor-widget elementor-widget-pdfjs_viewer" data-id="37e6760" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-6-Advanced-Conditional-Statements.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 1020px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://softuni.org/code-lessons/java-basics-tutorial-part-6-advanced-conditional-statements/">Java Basics Tutorial &#8211; Part 6 &#8211; Advanced Conditional Statements</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://softuni.org/code-lessons/java-basics-tutorial-part-6-advanced-conditional-statements/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java Basics Tutorial &#8211; Part 5 &#8211; Conditional Statements</title>
		<link>https://softuni.org/code-lessons/java-basics-tutorial-part-5-conditional-statements/</link>
					<comments>https://softuni.org/code-lessons/java-basics-tutorial-part-5-conditional-statements/#respond</comments>
		
		<dc:creator><![CDATA[Aleksandar Peev]]></dc:creator>
		<pubDate>Thu, 21 Oct 2021 11:06:00 +0000</pubDate>
				<category><![CDATA[Code Lessons]]></category>
		<category><![CDATA[Java Basics Free Course]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[code lessons]]></category>
		<category><![CDATA[conditional statements]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[java-tutorial]]></category>
		<category><![CDATA[javabasics]]></category>
		<category><![CDATA[tutorial]]></category>
		<guid isPermaLink="false">https://softuni.org/?p=9921</guid>

					<description><![CDATA[<p>In this lesson of the Java Bascics Tutorial, we take a look at Conditional Statements.</p>
<p>The post <a href="https://softuni.org/code-lessons/java-basics-tutorial-part-5-conditional-statements/">Java Basics Tutorial &#8211; Part 5 &#8211; Conditional Statements</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="9921" class="elementor elementor-9921" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-5d5405e elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="5d5405e" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0d32134" data-id="0d32134" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-9216798 elementor-widget elementor-widget-text-editor" data-id="9216798" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p> </p><p><img loading="lazy" decoding="async" class=" wp-image-10504 alignright" src="https://softuni.org/wp-content/uploads/2022/01/conditional-statement-pic-300x208.png" alt="conditional-statement-pic" width="302" height="210" srcset="https://softuni.org/wp-content/uploads/2022/01/conditional-statement-pic-300x208.png 300w, https://softuni.org/wp-content/uploads/2022/01/conditional-statement-pic.png 450w" sizes="(max-width: 302px) 100vw, 302px" /><span style="font-size: 16px;">A</span><strong style="font-size: 16px;"> conditional statement</strong><span style="font-size: 16px;"> is a piece of code that checks the given </span><strong style="font-size: 16px;">condition</strong><span style="font-size: 16px;">, and when it is </span><strong style="font-size: 16px;">true</strong><span style="font-size: 16px;">, the code related to it is performed. It is used to make decisions based on the </span><strong style="font-size: 16px;">conditions</strong><span style="font-size: 16px;">. </span><strong style="font-size: 16px;">Conditional statements</strong><span style="font-size: 16px;"> execute when there is </span><strong style="font-size: 16px;">no condition</strong><span style="font-size: 16px;"> around the statements. If you put a </span><strong style="font-size: 16px;">condition</strong><span style="font-size: 16px;"> for a block of statements, the execution flow may change based on the result evaluated by the </span><strong style="font-size: 16px;">condition</strong><span style="font-size: 16px;">. This process is called </span><strong style="font-size: 16px;">decision-making</strong><span style="font-size: 16px;">.</span></p><p style="text-align: left;"><span data-preserver-spaces="true"><strong>Conditional statements</strong> begin with the keyword <strong>if</strong> followed by parentheses. An expression is placed inside the parentheses, then evaluated when the<strong> conditional statement</strong> is reached. </span></p><p><span data-preserver-spaces="true"><strong><img loading="lazy" decoding="async" class="wp-image-10503 aligncenter" src="https://softuni.org/wp-content/uploads/2022/01/conditional-statement-chart-188x300.png" alt="" width="170" height="271" srcset="https://softuni.org/wp-content/uploads/2022/01/conditional-statement-chart-188x300.png 188w, https://softuni.org/wp-content/uploads/2022/01/conditional-statement-chart.png 314w" sizes="(max-width: 170px) 100vw, 170px" /></strong></span></p><p><span data-preserver-spaces="true">The parentheses are followed by a block, which is defined inside opening <strong>{</strong> and closing<strong> }</strong> curly brackets. The source code inside the block executes if the expression inside the parentheses evaluates to </span><strong>true</strong><span data-preserver-spaces="true">. If the expression in the <strong>conditional statement</strong> evaluates to <strong>true</strong>, the execution of the program progresses to the block defined by the <strong>conditional statement</strong>.</span></p><p>On the other hand, if the expression evaluates to <strong>false</strong>, the execution moves on to the statement after the closing curly bracket of the current <strong>conditional statement</strong>. Using the <strong>else</strong> command, we create an alternative option for when the <strong>conditional expression</strong> evaluates to <strong>false</strong>. In the case of multiple <strong>conditions</strong>, we can use the<strong> else if </strong> command. <strong>else if</strong> is like <strong>else</strong>, but with an additional <strong>condition</strong>. It follows the <strong>if-condition</strong>, and they may be multiple.<img loading="lazy" decoding="async" class="size-medium wp-image-10509 aligncenter" src="https://softuni.org/wp-content/uploads/2022/01/switch-case-computer-300x211.png" alt="switch-case-computer" width="300" height="211" srcset="https://softuni.org/wp-content/uploads/2022/01/switch-case-computer-300x211.png 300w, https://softuni.org/wp-content/uploads/2022/01/switch-case-computer.png 460w" sizes="(max-width: 300px) 100vw, 300px" /></p><p>To sum it up,<strong> conditional statements</strong> are something that you must learn if you want to continue developing as a programmer. They s are specified by a set of statements having boolean expressions which, are evaluated to a boolean value <strong>true</strong> or <strong>false</strong>. <strong>Conditional statements</strong> help us to make a decision based on certain <strong>conditions</strong>.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-88292b4 elementor-widget elementor-widget-video" data-id="88292b4" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/7H3K4g8BQ3w&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f6c0ddd elementor-widget elementor-widget-text-editor" data-id="f6c0ddd" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2>Lesson Topics</h2><div><div>In this video we review the following topics:</div><ul><li><b>Logical Expressions</b><b></b></li><li><strong>Conditional Statements</strong></li><li><strong>Series of Checks</strong></li><li><strong>Variable Scope</strong></li><li><strong>Debugging</strong></li></ul></div>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-c7f272d elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="c7f272d" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-80e7a69" data-id="80e7a69" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
							</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-a0aff0b elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="a0aff0b" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-48c6c18" data-id="48c6c18" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-534ddb0 elementor-widget elementor-widget-template" data-id="534ddb0" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
							<div class="elementor-template">
					<div data-elementor-type="section" data-elementor-id="20669" class="elementor elementor-20669" data-elementor-post-type="elementor_library">
					<section class="elementor-section elementor-top-section elementor-element elementor-element-2753e750 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="2753e750" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b04b054" data-id="b04b054" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-50498bde elementor-widget elementor-widget-heading" data-id="50498bde" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Practical Exercises</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-6264b7a9 elementor-widget elementor-widget-text-editor" data-id="6264b7a9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong><span style="font-size: 16px; font-style: normal;">W</span></strong><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">atch the video</span><span style="font-size: 16px; font-style: normal; font-weight: 400;"> and </span><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">solve the problems</span><span style="font-size: 16px; font-style: normal; font-weight: 400;">. </span>To better understand the material, do the<strong> coding exercises</strong> and implement the knowledge you acquired. Writing code is the only way to master the <b>skill of code</b>.</p><p>Submit your code in the <b>SoftUni Judge System</b>:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5a06f887 elementor-cta--layout-image-right elementor-cta--mobile-layout-image-above elementor-cta--skin-classic elementor-animated-content elementor-bg-transform elementor-bg-transform-zoom-in elementor-widget elementor-widget-call-to-action" data-id="5a06f887" data-element_type="widget" data-widget_type="call-to-action.default">
				<div class="elementor-widget-container">
							<a class="elementor-cta" href="https://judge.softuni.org/Contests/3294/Full-Java-Foundations-Course" target="_blank">
					<div class="elementor-cta__bg-wrapper">
				<div class="elementor-cta__bg elementor-bg" style="background-image: url(https://softuni.org/wp-content/uploads/2021/10/softuni-judge-system.png);" role="img" aria-label="softuni-judge-system"></div>
				<div class="elementor-cta__bg-overlay"></div>
			</div>
							<div class="elementor-cta__content">
				
									<h3 class="elementor-cta__title elementor-cta__content-item elementor-content-item">
						Hands-on Exercises in the SoftUni Judge					</h3>
				
									<div class="elementor-cta__description elementor-cta__content-item elementor-content-item">
						Submit your exercise code and check its correctness in the SoftUni Judge.					</div>
				
									<div class="elementor-cta__button-wrapper elementor-cta__content-item elementor-content-item ">
					<span class="elementor-cta__button elementor-button elementor-size-md">
						Go To Judge					</span>
					</div>
							</div>
							<div class="elementor-ribbon elementor-ribbon-left">
				<div class="elementor-ribbon-inner">
					free				</div>
			</div>
				</a>
						</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
				</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f972417 elementor-widget elementor-widget-heading" data-id="f972417" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Exercises: Problem Descriptions</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-37e6760 elementor-widget elementor-widget-pdfjs_viewer" data-id="37e6760" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-5-Conditional-Statements-Exercises-1.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 1020px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
				<div class="elementor-element elementor-element-ecf2fd1 elementor-widget elementor-widget-heading" data-id="ecf2fd1" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Lesson Slides</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-a91bc89 elementor-widget elementor-widget-pdfjs_viewer" data-id="a91bc89" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-5-Conditional-Statements.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 1020px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://softuni.org/code-lessons/java-basics-tutorial-part-5-conditional-statements/">Java Basics Tutorial &#8211; Part 5 &#8211; Conditional Statements</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://softuni.org/code-lessons/java-basics-tutorial-part-5-conditional-statements/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java Basics Tutorial &#8211; Part 4 &#8211; Data and Calculations</title>
		<link>https://softuni.org/code-lessons/java-basics-tutorial-part-4-data-and-calculations/</link>
					<comments>https://softuni.org/code-lessons/java-basics-tutorial-part-4-data-and-calculations/#respond</comments>
		
		<dc:creator><![CDATA[Aleksandar Peev]]></dc:creator>
		<pubDate>Wed, 20 Oct 2021 11:06:00 +0000</pubDate>
				<category><![CDATA[Code Lessons]]></category>
		<category><![CDATA[Java Basics Free Course]]></category>
		<category><![CDATA[arithmeticoperators]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[code lessons]]></category>
		<category><![CDATA[datatypes]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[java-tutorial]]></category>
		<category><![CDATA[javabasics]]></category>
		<category><![CDATA[tutorial]]></category>
		<guid isPermaLink="false">https://softuni.org/?p=9877</guid>

					<description><![CDATA[<p>In this part of the Java Bascics Tutorial, we take a look at Data and Calculations.</p>
<p>The post <a href="https://softuni.org/code-lessons/java-basics-tutorial-part-4-data-and-calculations/">Java Basics Tutorial &#8211; Part 4 &#8211; Data and Calculations</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="9877" class="elementor elementor-9877" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-5d5405e elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="5d5405e" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0d32134" data-id="0d32134" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-9216798 elementor-widget elementor-widget-text-editor" data-id="9216798" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><span style="font-size: 16px;"><img loading="lazy" decoding="async" class="size-medium wp-image-10498 alignright" src="https://softuni.org/wp-content/uploads/2022/01/data-type-example-300x124.png" alt="data-type-example" width="300" height="124" srcset="https://softuni.org/wp-content/uploads/2022/01/data-type-example-300x124.png 300w, https://softuni.org/wp-content/uploads/2022/01/data-type-example-600x249.png 600w, https://softuni.org/wp-content/uploads/2022/01/data-type-example-768x318.png 768w, https://softuni.org/wp-content/uploads/2022/01/data-type-example.png 900w" sizes="(max-width: 300px) 100vw, 300px" />Data types specify the different sizes and values stored in a variable. There are two types of data in Java:</span></p><ul><li><strong>Primitive data types</strong></li><li><strong>Non-primitive data types</strong></li></ul><p style="text-align: left;"><span data-preserver-spaces="true">To start, we will be using these data types only:<img loading="lazy" decoding="async" class="size-medium wp-image-10497 alignleft" src="https://softuni.org/wp-content/uploads/2022/01/arithmetic-operators-300x210.png" alt="" width="300" height="210" srcset="https://softuni.org/wp-content/uploads/2022/01/arithmetic-operators-300x210.png 300w, https://softuni.org/wp-content/uploads/2022/01/arithmetic-operators.png 460w" sizes="(max-width: 300px) 100vw, 300px" /></span></p><ul><li><span data-preserver-spaces="true"><strong>int</strong> &#8211;  holds a wide range of non-fractional number values.</span></li><li><span data-preserver-spaces="true"><strong>double</strong> &#8211; only takes up to 8 bits of memory</span></li><li><span data-preserver-spaces="true"><strong>boolean</strong> &#8211; can contain only two values: <em>true</em> or <em>false.</em></span></li><li><span data-preserver-spaces="true"><strong>char</strong> &#8211; is a symbol representing a Unicode-encoded character.</span></li><li><span data-preserver-spaces="true"><strong>String</strong> &#8211; is a sequence of characters</span></li></ul><p><span style="font-size: 16px;"><img loading="lazy" decoding="async" class="size-medium wp-image-10499 alignright" src="https://softuni.org/wp-content/uploads/2022/01/operator-table-300x240.png" alt="" width="300" height="240" srcset="https://softuni.org/wp-content/uploads/2022/01/operator-table-300x240.png 300w, https://softuni.org/wp-content/uploads/2022/01/operator-table.png 397w" sizes="(max-width: 300px) 100vw, 300px" />Besides printing them on the console, we can use them for various arithmetic operations. The table on the right shows different types of arithmetic operations. All of them are the same as the arithmetic operations you have learned in school.</span></p><p>These may seem like simple operators, but when correctly, used they can be of help on more complex projects.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-88292b4 elementor-widget elementor-widget-video" data-id="88292b4" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/tuLo1BPRCqM&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f6c0ddd elementor-widget elementor-widget-text-editor" data-id="f6c0ddd" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2>Lesson Topics</h2><div><div>In this video we review the following topics:</div><ul><li><b>Variables</b></li><li><b>Data Types</b></li><li><b>Statements</b></li><li><b>Arithmetic Operators</b></li><li><b>Expressions</b></li></ul></div>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-290768f elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="290768f" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-94be8d9" data-id="94be8d9" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
							</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-a0aff0b elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="a0aff0b" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-48c6c18" data-id="48c6c18" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-d21ccc0 elementor-widget elementor-widget-template" data-id="d21ccc0" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
							<div class="elementor-template">
					<div data-elementor-type="section" data-elementor-id="20669" class="elementor elementor-20669" data-elementor-post-type="elementor_library">
					<section class="elementor-section elementor-top-section elementor-element elementor-element-2753e750 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="2753e750" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b04b054" data-id="b04b054" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-50498bde elementor-widget elementor-widget-heading" data-id="50498bde" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Practical Exercises</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-6264b7a9 elementor-widget elementor-widget-text-editor" data-id="6264b7a9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong><span style="font-size: 16px; font-style: normal;">W</span></strong><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">atch the video</span><span style="font-size: 16px; font-style: normal; font-weight: 400;"> and </span><span style="font-size: 16px; font-style: normal; font-weight: 700 !important;">solve the problems</span><span style="font-size: 16px; font-style: normal; font-weight: 400;">. </span>To better understand the material, do the<strong> coding exercises</strong> and implement the knowledge you acquired. Writing code is the only way to master the <b>skill of code</b>.</p><p>Submit your code in the <b>SoftUni Judge System</b>:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5a06f887 elementor-cta--layout-image-right elementor-cta--mobile-layout-image-above elementor-cta--skin-classic elementor-animated-content elementor-bg-transform elementor-bg-transform-zoom-in elementor-widget elementor-widget-call-to-action" data-id="5a06f887" data-element_type="widget" data-widget_type="call-to-action.default">
				<div class="elementor-widget-container">
							<a class="elementor-cta" href="https://judge.softuni.org/Contests/3294/Full-Java-Foundations-Course" target="_blank">
					<div class="elementor-cta__bg-wrapper">
				<div class="elementor-cta__bg elementor-bg" style="background-image: url(https://softuni.org/wp-content/uploads/2021/10/softuni-judge-system.png);" role="img" aria-label="softuni-judge-system"></div>
				<div class="elementor-cta__bg-overlay"></div>
			</div>
							<div class="elementor-cta__content">
				
									<h3 class="elementor-cta__title elementor-cta__content-item elementor-content-item">
						Hands-on Exercises in the SoftUni Judge					</h3>
				
									<div class="elementor-cta__description elementor-cta__content-item elementor-content-item">
						Submit your exercise code and check its correctness in the SoftUni Judge.					</div>
				
									<div class="elementor-cta__button-wrapper elementor-cta__content-item elementor-content-item ">
					<span class="elementor-cta__button elementor-button elementor-size-md">
						Go To Judge					</span>
					</div>
							</div>
							<div class="elementor-ribbon elementor-ribbon-left">
				<div class="elementor-ribbon-inner">
					free				</div>
			</div>
				</a>
						</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
				</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-f972417 elementor-widget elementor-widget-heading" data-id="f972417" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Exercises: Problem Descriptions</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-5c49026 elementor-widget elementor-widget-pdfjs_viewer" data-id="5c49026" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-4-Data-and-Calculations-Exercises.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 1020px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
				<div class="elementor-element elementor-element-4b9eb4d elementor-widget elementor-widget-heading" data-id="4b9eb4d" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Lesson Slides</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-37e6760 elementor-widget elementor-widget-pdfjs_viewer" data-id="37e6760" data-element_type="widget" data-widget_type="pdfjs_viewer.default">
				<div class="elementor-widget-container">
					<iframe src="https://softuni.org/wp-content/plugins/pdf-viewer-for-elementor/assets/pdfjs/web/viewer.html?file=https://softuni.org/wp-content/uploads/2021/10/Java-Basics-Tutorial-Part-4-Data-and-Calculations.pdf&amp;embedded=true" style="display: block; margin-left: auto; margin-right: auto; width: 100%; height: 1020px;" frameborder="1" marginheight="0px" marginwidth="0px" allowfullscreen></iframe>				</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://softuni.org/code-lessons/java-basics-tutorial-part-4-data-and-calculations/">Java Basics Tutorial &#8211; Part 4 &#8211; Data and Calculations</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://softuni.org/code-lessons/java-basics-tutorial-part-4-data-and-calculations/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Free Book: Programming Basics with C#</title>
		<link>https://softuni.org/resources/programming-basics-with-csharp-book/</link>
					<comments>https://softuni.org/resources/programming-basics-with-csharp-book/#respond</comments>
		
		<dc:creator><![CDATA[Sanya Kasarova]]></dc:creator>
		<pubDate>Tue, 12 Oct 2021 11:37:45 +0000</pubDate>
				<category><![CDATA[Learning Resources]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[csharp]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[programming]]></category>
		<guid isPermaLink="false">https://softuni.org/?p=7382</guid>

					<description><![CDATA[<p>A great C# programming book if you're a beginner or just want to brush up on your coding skills! It covers the basics of C# coding with Visual Studio: working with data, conditional statements and loops.</p>
<p>The post <a href="https://softuni.org/resources/programming-basics-with-csharp-book/">Free Book: Programming Basics with C#</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="7382" class="elementor elementor-7382" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-48a3a2df elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="48a3a2df" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-13708000" data-id="13708000" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-6bda71c7 elementor-widget elementor-widget-text-editor" data-id="6bda71c7" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									
<p>Read online the free <strong>video book “Programming Basics (C# Edition)”</strong>. It is a free guide for <strong>absolute beginners</strong> in coding, who want to learn how to write simple programming logic (use data, write conditions and loops).</p>

<p>The book comes with <strong>video lessons</strong>, covering most of its content and 150+ practical programming exercises with <strong>an</strong> <strong>automated online evaluation system</strong> (judge system).</p>

<p>The book is used as primary textbook in the “Programming Basics” courses at the Software University (SoftUni). Below is the book’s table of contents (TOC):</p>

<ul class="wp-block-list">
<li>Preface</li>
<li>First Steps in Programming</li>
<li>Simple Calculations</li>
<li>Simple Calculations – Exam Problems</li>
<li>Simple Conditional Statements</li>
<li>Simple Conditional Statements – Exam Problems</li>
<li>More Complex Conditional Statements</li>
<li>More Complex Conditional Statements – Exam Problems</li>
<li>Repeating Programming Code (Loops)</li>
<li>Repeating Programming Code (Loops) – Exam Problems</li>
<li>Nested Loops and Drawing on the Console Using Loops</li>
<li>Nested Loops and Drawing on the Console – Exam Problems</li>
<li>More Complex Loops</li>
<li>More Complex Loops – Exam Problems</li>
<li>Practical Exam Preparation (Part I)</li>
<li>Practical Exam Preparation (Part II)</li>
<li>Problems for Champions (Part I)</li>
<li>Problems for Champions (Part II)</li>
<li>Methods</li>
<li>Tricks and Hacks</li>
<li>Conclusion</li>
</ul>
								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-7983a6d elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="7983a6d" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2630d69" data-id="2630d69" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-9c4a144 elementor-widget elementor-widget-text-editor" data-id="9c4a144" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Click below to register and get access to the free book!</p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-1442ab2 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="1442ab2" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-47f2e58" data-id="47f2e58" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-3316d6c elementor-widget elementor-widget-heading" data-id="3316d6c" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Download the C# Basics Book</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-45a1d19 elementor-align-center elementor-widget elementor-widget-button" data-id="45a1d19" data-element_type="widget" data-widget_type="button.default">
				<div class="elementor-widget-container">
									<div class="elementor-button-wrapper">
					<a class="elementor-button elementor-button-link elementor-size-lg" href="/checkout/join-community">
						<span class="elementor-button-content-wrapper">
						<span class="elementor-button-icon">
				<svg aria-hidden="true" class="e-font-icon-svg e-fas-laptop-code" viewBox="0 0 640 512" xmlns="http://www.w3.org/2000/svg"><path d="M255.03 261.65c6.25 6.25 16.38 6.25 22.63 0l11.31-11.31c6.25-6.25 6.25-16.38 0-22.63L253.25 192l35.71-35.72c6.25-6.25 6.25-16.38 0-22.63l-11.31-11.31c-6.25-6.25-16.38-6.25-22.63 0l-58.34 58.34c-6.25 6.25-6.25 16.38 0 22.63l58.35 58.34zm96.01-11.3l11.31 11.31c6.25 6.25 16.38 6.25 22.63 0l58.34-58.34c6.25-6.25 6.25-16.38 0-22.63l-58.34-58.34c-6.25-6.25-16.38-6.25-22.63 0l-11.31 11.31c-6.25 6.25-6.25 16.38 0 22.63L386.75 192l-35.71 35.72c-6.25 6.25-6.25 16.38 0 22.63zM624 416H381.54c-.74 19.81-14.71 32-32.74 32H288c-18.69 0-33.02-17.47-32.77-32H16c-8.8 0-16 7.2-16 16v16c0 35.2 28.8 64 64 64h512c35.2 0 64-28.8 64-64v-16c0-8.8-7.2-16-16-16zM576 48c0-26.4-21.6-48-48-48H112C85.6 0 64 21.6 64 48v336h512V48zm-64 272H128V64h384v256z"></path></svg>			</span>
									<span class="elementor-button-text">Register Here to Access<br> the Free Resources</span>
					</span>
					</a>
				</div>
								</div>
				</div>
				<section class="elementor-section elementor-inner-section elementor-element elementor-element-a91849f elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="a91849f" data-element_type="section" data-settings="{&quot;background_background&quot;:&quot;gradient&quot;}">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-a8ede8b" data-id="a8ede8b" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-52636d4 elementor-widget elementor-widget-image" data-id="52636d4" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="210" height="300" src="https://softuni.org/wp-content/uploads/2021/10/CSharp-Programming-Basics-Book-Cover-1-210x300.png" class="attachment-medium size-medium wp-image-7383" alt="" srcset="https://softuni.org/wp-content/uploads/2021/10/CSharp-Programming-Basics-Book-Cover-1-210x300.png 210w, https://softuni.org/wp-content/uploads/2021/10/CSharp-Programming-Basics-Book-Cover-1-e1634038541437-600x857.png 600w, https://softuni.org/wp-content/uploads/2021/10/CSharp-Programming-Basics-Book-Cover-1-717x1024.png 717w, https://softuni.org/wp-content/uploads/2021/10/CSharp-Programming-Basics-Book-Cover-1-768x1097.png 768w, https://softuni.org/wp-content/uploads/2021/10/CSharp-Programming-Basics-Book-Cover-1-1075x1536.png 1075w, https://softuni.org/wp-content/uploads/2021/10/CSharp-Programming-Basics-Book-Cover-1-1434x2048.png 1434w, https://softuni.org/wp-content/uploads/2021/10/CSharp-Programming-Basics-Book-Cover-1-e1634038541437.png 1100w" sizes="(max-width: 210px) 100vw, 210px" />															</div>
				</div>
					</div>
		</div>
				<div class="elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-d326561" data-id="d326561" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-01a50ee elementor-widget elementor-widget-text-editor" data-id="01a50ee" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p style="text-align: center;">Read online and download the<br /><b><a href="https://csharp-book.softuni.org">book &#8220;Programming Basics with C#&#8221;</a></b>.</p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://softuni.org/resources/programming-basics-with-csharp-book/">Free Book: Programming Basics with C#</a> appeared first on <a href="https://softuni.org">SoftUni Global</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://softuni.org/resources/programming-basics-with-csharp-book/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)

Served from: softuni.org @ 2026-04-06 22:38:31 by W3 Total Cache
-->