<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Nhóm 7 - Java Cafe - 13-10 Các cấu trúc lập trình Java by Nguyen Huu Long</title>
      <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2021-09-20 13:07:50 UTC</pubDate>
      <lastBuildDate>2024-05-27 06:35:35 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title></title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813114768</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1339379636/0d2a647ae8412e9473e62222902f20a5/image.png" />
         <pubDate>2021-10-13 06:59:51 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813114768</guid>
      </item>
      <item>
         <title></title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813119778</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1339379636/d80efce7e87ae30835ae1e7f35565b38/image.png" />
         <pubDate>2021-10-13 07:02:48 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813119778</guid>
      </item>
      <item>
         <title></title>
         <author>phuonghoang150202</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813120469</link>
         <description><![CDATA[<div>Cú pháp: for (&lt;khởi tạo biến chạy&gt;; &lt;biểu thức điều kiện&gt;;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;thay đổi biến chạy&gt;)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ &lt;khối lệnh lặp lại&gt;}<br>Nguyên lý:&nbsp;<br>&nbsp; &nbsp;- Bước 1: Thực hiện &lt;khởi tạo biến chạy&gt;<br>&nbsp; &nbsp;- Bước 2: Kiểm tra &lt;biểu thức điều kiện&gt; nếu biểu thức đúng thì thực hiện &lt;khối lệnh lặp lại&gt;. Nếu sai thì bỏ qua.<br>&nbsp; &nbsp;- Bước 3: Thực hiện &lt;thay đổi biến chạy&gt;, quay lại bước 2.<br>   - Bước 4: Kết thúc vòng lặp.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-13 07:03:13 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813120469</guid>
      </item>
      <item>
         <title></title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813123033</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1339379636/7e5c1abd4ea36ff31668e4be1d4159de/image.png" />
         <pubDate>2021-10-13 07:04:41 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813123033</guid>
      </item>
      <item>
         <title></title>
         <author>thanhgiang292002</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813123664</link>
         <description><![CDATA[<div><strong>Từ khóa break trong java</strong> được sử dụng để dừng thực thi lệnh trong vòng lặp hoặc trong mệnh đề switch tại điều kiện đã được chỉ định. Đối với vòng lặp bên trong vòng lặp khác, thì nó chỉ dừng vòng lặp bên trong đó.</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1361629526/da165ecfd34a9fad7cc5c1a8f69340e5/image.png" />
         <pubDate>2021-10-13 07:05:01 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813123664</guid>
      </item>
      <item>
         <title>While</title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813124674</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1339379636/9279620ee5a21840e198f6c293f5b587/image.png" />
         <pubDate>2021-10-13 07:05:33 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813124674</guid>
      </item>
      <item>
         <title></title>
         <author>thanhgiang292002</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813125459</link>
         <description><![CDATA[<div><strong>Từ khóa continue trong java</strong> được sử dụng để tiếp tục vòng lặp tại điều kiện đã được xác định, với điều kiện đó khối lệnh phía sau từ khóa continue sẽ không được thực thi. Đối với vòng lặp bên trong một vòng lặp khác, continue chỉ có tác dụng với vọng lặp bên trong đó.</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1361629526/eac0b59685215ad307ea57748c6db60f/image.png" />
         <pubDate>2021-10-13 07:06:00 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813125459</guid>
      </item>
      <item>
         <title>Do-While</title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813125968</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1339379636/6932b137aa1b57739c5180c9f6adb285/image.png" />
         <pubDate>2021-10-13 07:06:18 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813125968</guid>
      </item>
      <item>
         <title>Có các kiểu của mệnh đề if-else trong java như sau:</title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813131110</link>
         <description><![CDATA[<div>Mệnh đề if<br>Mệnh đề if-else<br>Mệnh đề if-else-if<br><br><br><br></div><div><br><br></div><div><br></div><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-13 07:09:12 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813131110</guid>
      </item>
      <item>
         <title>1, Mệnh đề if </title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813134756</link>
         <description><![CDATA[<div>Mệnh đề if được sử dụng để kiểm tra giá trị dạng boolean của điều kiện. Khối lệnh sau if được thực thi nếu giá trị của điều kiện là True<br>Cú pháp:<br>if (condition) {&nbsp; &nbsp; &nbsp;&nbsp;<br>// khối lệnh này thực thi&nbsp; &nbsp; &nbsp;<br>// nếu condition = true<br>}&nbsp;<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-13 07:11:16 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813134756</guid>
      </item>
      <item>
         <title>Ví dụ: If</title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813147235</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1339379636/4fa5b416cd357058b82aa6c11baf4109/image.png" />
         <pubDate>2021-10-13 07:18:17 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813147235</guid>
      </item>
      <item>
         <title>2,Mệnh đề if-else</title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813151300</link>
         <description><![CDATA[<div>Mệnh đề if-else cũng kiểm tra giá trị dạng boolean của điều kiện. Nếu giá trị điều kiện là True thì chỉ có khối lệnh sau if sẽ được thực hiện, nếu là False thì chỉ có khối lệnh sau else được thực hiện.<br>Cú pháp:<br><strong>if</strong> (condition) {</div><div>&nbsp; &nbsp; // khối lệnh này được thực thi</div><div>&nbsp; &nbsp; // nếu condition = true</div><div>} <strong>else</strong> {</div><div>&nbsp; &nbsp; // khối lệnh này được thực thi</div><div>&nbsp; &nbsp; // nếu condition = false</div><div>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-13 07:20:36 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813151300</guid>
      </item>
      <item>
         <title></title>
         <author>phuonghoang150202</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813151737</link>
         <description><![CDATA[<div>public static void main (String[] args)<br>	{<br>		for (int i = 1; i &lt;= 10; i += 2)<br>			System.out.println(i);<br>	}</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-13 07:20:51 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813151737</guid>
      </item>
      <item>
         <title>Ví dụ: If-Else</title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813174878</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1339379636/5bfaee750a23f4b5fd68971aa6f5422d/image.png" />
         <pubDate>2021-10-13 07:33:28 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813174878</guid>
      </item>
      <item>
         <title>3,Mệnh đề if-else-if</title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813178137</link>
         <description><![CDATA[<div>Mệnh đề if-else-if cũng kiểm tra giá trị dạng boolean của điều kiện. Nếu giá trị điều kiện if là True thì chỉ có khối lệnh sau if sẽ được thực hiện. Nếu giá trị điều kiện if else nào là True thì chỉ có khối lệnh sau else if đó sẽ được thực hiện... Nếu tất cả điều kiện của if và else if là False thì chỉ có khối lệnh sau else sẽ được thực hiện.<br>Cú pháp:<br><strong>if</strong> (condition1)&nbsp;<br>{ &nbsp;</div><div>&nbsp; &nbsp; // khối lệnh này được thực thi&nbsp;</div><div>&nbsp; &nbsp; // nếu condition1 là true &nbsp;</div><div>} <strong>else</strong> <strong>if</strong> (condition2)&nbsp;<br>{ &nbsp;</div><div>&nbsp; &nbsp; // khối lệnh này được thực thi&nbsp;</div><div>&nbsp; &nbsp; // nếu condition2 là true &nbsp;</div><div>}&nbsp; <strong>else</strong> <strong>if</strong> (condition3) { &nbsp;</div><div>&nbsp; &nbsp; // khối lệnh này được thực thi&nbsp;</div><div>&nbsp; &nbsp; // nếu condition3 là true &nbsp;</div><div>} &nbsp;</div><div>... &nbsp;</div><div><strong>else</strong>&nbsp;<br>{ &nbsp;</div><div>&nbsp; &nbsp; // khối lệnh này được thực thi&nbsp;</div><div>&nbsp; &nbsp; // nếu tất cả những điều kiện trên là false&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-13 07:35:14 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813178137</guid>
      </item>
      <item>
         <title>Ví dụ: If else if</title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813181218</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1339379636/6c56ee260ccf3e36f2efe52badf1a87b/image.png" />
         <pubDate>2021-10-13 07:36:50 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813181218</guid>
      </item>
      <item>
         <title>Mệnh đề switch-case</title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813262505</link>
         <description><![CDATA[<div>&nbsp;Mệnh đề switch-case trong java được sử dụng để thực thi 1 hoặc nhiều khối lệnh từ nhiều điều kiện.<br>Cú pháp:<br><strong>switch</strong> (bieu_thuc) {&nbsp; &nbsp;&nbsp;</div><div><strong>case</strong> gia_tri_1:</div><div>&nbsp; &nbsp; // Khối lệnh 1</div><div>&nbsp; &nbsp; <strong>break</strong>;&nbsp; //tùy chọn</div><div><strong>case</strong> gia_tri_2:&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; // Khối lệnh 2</div><div>&nbsp; &nbsp; <strong>break</strong>;&nbsp; //tùy chọn</div><div>......&nbsp; &nbsp;&nbsp;</div><div><strong>case</strong> gia_tri_n:&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; // Khối lệnh n</div><div>&nbsp; &nbsp; <strong>break</strong>;&nbsp; //tùy chọn&nbsp; &nbsp;&nbsp;</div><div><strong>default</strong>:&nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; // Khối lệnh này được thực thi&nbsp;</div><div>&nbsp; &nbsp; // nếu tất cả các điều kiện trên không thỏa mãn&nbsp;</div><div>}&nbsp; &nbsp;</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1339379636/d04a1c067be6dd3b602471e42593117c/image.png" />
         <pubDate>2021-10-13 08:19:39 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813262505</guid>
      </item>
      <item>
         <title>Ví dụ Switch Case</title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813281452</link>
         <description><![CDATA[<div>import java.util.Scanner;</div><div>public class main</div><div>{</div><div>&nbsp; &nbsp; public static void main(String[] args)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Scanner input&nbsp; = new Scanner(System.in);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; System.out.print("Nhập mã sp: ");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; int maSanpham = input.nextInt();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; switch (maSanpham) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; case 10:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Nước cam \n Giá: 20000");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; case 9:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Nước chanh \n Giá: 10000");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; case 8:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Nước bí \n Giá: 12000");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; case 7:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Trà Sữa \n Giá: 25000");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; case 6:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Nutri \n Giá: 20000");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; case 5:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Nước yến \n Giá: 15000");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; case 4:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Cà phê đen \n Giá: 22000");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; case 3:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Bạc xĩu \n Giá: 28000");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; case 2:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Trà đá \n Giá: 2000");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; case 1:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Number one \n Giá: 12000");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; case 0:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Sữa nóng \n Giá: 18000 ");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; default:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println("Mời nhập lại mã sản phẩm (0-10)");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-13 08:29:28 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813281452</guid>
      </item>
      <item>
         <title>Ví dụ:</title>
         <author>phuonghoang150202</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813292904</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1361626379/8a03e0bdf2eeb659f738f528edcb415a/image.png" />
         <pubDate>2021-10-13 08:35:21 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813292904</guid>
      </item>
      <item>
         <title>Họ Và Tên:</title>
         <author>3120218108</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813311699</link>
         <description><![CDATA[<div>1, Nguyễn Hữu Long<br>2, Hoàng Thị Kim Phượng<br>3, Nguyễn Thị Thanh Giang</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-10-13 08:44:37 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813311699</guid>
      </item>
      <item>
         <title>Ví dụ For:</title>
         <author>phuonghoang150202</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813329942</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1361626379/d3f321917f3be8fab7eefe173149803e/image.png" />
         <pubDate>2021-10-13 08:53:07 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813329942</guid>
      </item>
      <item>
         <title>Ví dụ Break:</title>
         <author>phuonghoang150202</author>
         <link>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813337432</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1361626379/fb26a68bfba43e3f8125c3e2b66ddda2/image.png" />
         <pubDate>2021-10-13 08:56:10 UTC</pubDate>
         <guid>https://padlet.com/3120218108/3k1avm2h75l3sbiu/wish/1813337432</guid>
      </item>
   </channel>
</rss>
