<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>codeacademy on 蛇索尼 Aiden</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/java/codeacademy/</link><description>Recent content in codeacademy on 蛇索尼 Aiden</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>shesl-meow@qq.com (佘崧林)</managingEditor><webMaster>shesl-meow@qq.com (佘崧林)</webMaster><lastBuildDate>Sun, 10 Feb 2019 12:12:12 +0800</lastBuildDate><atom:link href="https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/java/codeacademy/index.xml" rel="self" type="application/rss+xml"/><item><title>Conditional And Control Flow</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/java/codeacademy/2.conditionalandcontrolflow/</link><pubDate>Sun, 10 Feb 2019 12:12:12 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/java/codeacademy/2.conditionalandcontrolflow/</guid><description>Boolean operators There are three Boolean operators that we will explore. Let&amp;rsquo;s start with the first one: and. The and operator is represented in Java by &amp;amp;&amp;amp;. It returns a boolean value of true only when the expressions on both sides of &amp;amp;&amp;amp; are true. Great! The second Boolean operator that we will explore is called or. The or operator is represented in Java by ||. It returns a Boolean</description></item><item><title>Data Structures</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/java/codeacademy/4.datastructures/</link><pubDate>Sun, 10 Feb 2019 12:12:12 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/java/codeacademy/4.datastructures/</guid><description>For Loop The for loop repeatedly runs a block of code until a specified condition is met. The example below shows how a for loop is used: 1 2 3 4 5 for (int counter = 0; counter &amp;lt; 5; counter++) { System.out.println(&amp;#34;The counter value is: &amp;#34; + counter); } The statements within the parentheses of for loop compose the following parts: Initialization: the int variable named counter is initialized</description></item><item><title>Introduction</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/java/codeacademy/1.introduction/</link><pubDate>Sun, 10 Feb 2019 12:12:12 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/java/codeacademy/1.introduction/</guid><description>Here is a Hello World code: 1 2 3 4 5 6 // FirstClass.java public class FirstClass { public static void main(String[] args) { System.out.println(&amp;#34;shesl-meow&amp;#34;); } } Compile with the following command: 1 2 $ javac FirstClass.java # Generate FirstClass.class in the same folder Run the java program with the following command: 1 $ java FirstClass Data Type The first data type we will use is int. int is short</description></item><item><title>Object Oriented</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/java/codeacademy/3.objectoriented/</link><pubDate>Sun, 10 Feb 2019 12:12:12 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/java/codeacademy/3.objectoriented/</guid><description>Java is an object-oriented programming (OOP) language, which means that we can design classes, objects, and methods that can perform certain actions. These behaviors are important in the construction of larger, more powerful Java programs. Classes Syntax One fundamental concept of object-oriented programming in Java is the class. A class is a set of instructions that describe how a data structure should behave. Java provides us with its own set</description></item></channel></rss>