<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ylianto&#039;s Blog</title>
	<atom:link href="http://ylianto.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ylianto.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 08 Apr 2010 07:44:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ylianto.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ylianto&#039;s Blog</title>
		<link>http://ylianto.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ylianto.wordpress.com/osd.xml" title="Ylianto&#039;s Blog" />
	<atom:link rel='hub' href='http://ylianto.wordpress.com/?pushpress=hub'/>
		<item>
		<title>O.O.P Week 9</title>
		<link>http://ylianto.wordpress.com/2010/04/08/o-o-p-week-9/</link>
		<comments>http://ylianto.wordpress.com/2010/04/08/o-o-p-week-9/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 07:40:40 +0000</pubDate>
		<dc:creator>ylianto</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ylianto.wordpress.com/?p=24</guid>
		<description><![CDATA[This is what i learned this week: -char and string finding the ASCII code: import javax.swing.JOptionPane; public class W09Chars { public static void main(String[] args) { char ch=&#8217;A'; byte b=65; JOptionPane.showMessageDialog(null, &#8220;ASCII code of character&#8221; + ch + &#8221; is &#8221; + (int)ch); JOptionPane.showMessageDialog(null, &#8220;Character with ASCII code&#8221; + b + &#8221; is &#8221; + [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=24&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is what i learned this week:</p>
<p>-char and string</p>
<p>finding the ASCII code:</p>
<p>import javax.swing.JOptionPane;</p>
<p>public class W09Chars {<br />
    public static void main(String[] args) {<br />
        char ch=&#8217;A';<br />
        byte b=65;</p>
<p>        JOptionPane.showMessageDialog(null, &#8220;ASCII code of character&#8221; + ch + &#8221; is &#8221; + (int)ch);<br />
        JOptionPane.showMessageDialog(null, &#8220;Character with ASCII code&#8221; + b + &#8221; is &#8221; + (int)ch);<br />
        JOptionPane.showMessageDialog(null, ch + &#8221; is &#8221; + ((ch &gt; b) ? &#8220;bigger&#8221; : &#8220;smaller&#8221;) + &#8220;than&#8221; + (char)b);<br />
    }<br />
}</p>
<p>Finding Vowel:</p>
<p>import javax.swing.JOptionPane;</p>
<p>public class Vowel {<br />
public static void main(String[] args) {<br />
String name=&#8221;AKU Hebat&#8221;;<br />
int panjangg=0;</p>
<p>int panjang = name.length();</p>
<p>for (int i=0 ; ifalse<br />
word1.equals(word2) &#8211;&gt; &#8211;&gt;true</p>
<p>*String word1 = &#8220;Surabaya&#8221;<br />
  String word2 = &#8220;Suralaya&#8221;</p>
<p>cara compare:<br />
word1==word2 &#8211;&gt; &#8211;&gt;false<br />
word1.equals(word2) &#8211;&gt; &#8211;&gt;false</p>
<p>-pattern matching:</p>
<p>import javax.swing.JOptionPane;</p>
<p>public class W09ValidateClassname {<br />
private static final String STOP=&#8221;STOP&#8221;;<br />
private static final String VALID=&#8221;VALID&#8221;;<br />
private static final String INVALID=&#8221;INVALID&#8221;;</p>
<p>private static final String VALID_PATTERN<br />
= &#8220;[A-Z][a-zA-Z0-9_]*&#8221;;</p>
<p>public static void main(String[] args){<br />
String input,output;</p>
<p>while (true){<br />
input = JOptionPane.showInputDialog(null,&#8221;Class name :&#8221;);</p>
<p>if(STOP.equals(input))<br />
break;</p>
<p>if(input.matches(VALID_PATTERN))<br />
output = VALID;<br />
else<br />
output = INVALID;</p>
<p>JOptionPane.showMessageDialog(null, output);<br />
}</p>
<p>}<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ylianto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ylianto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ylianto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ylianto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ylianto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ylianto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ylianto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ylianto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ylianto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ylianto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ylianto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ylianto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ylianto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ylianto.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=24&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ylianto.wordpress.com/2010/04/08/o-o-p-week-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/75e6bf4320b9cef74319ac53638997e7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ylianto</media:title>
		</media:content>
	</item>
		<item>
		<title>OOP Week 6</title>
		<link>http://ylianto.wordpress.com/2010/03/18/oop-week-6/</link>
		<comments>http://ylianto.wordpress.com/2010/03/18/oop-week-6/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 07:06:06 +0000</pubDate>
		<dc:creator>ylianto</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ylianto.wordpress.com/?p=20</guid>
		<description><![CDATA[this week i learned: -using keyword this see the difference: 1. public class Rectangle{ private double length; private double width; public Rectangle(){ //do nothing } public void setLength(double l){ length=l; } public void setWidth(double w){ width=w; } } 2. public class Rectangle1{ private double length; private double width; public Rectangle1(){ //do nothing } public void [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=20&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>this week i learned:</p>
<p>-using keyword <strong>this</strong><br />
see the difference:</p>
<p>1.<br />
  public class Rectangle{<br />
  private double length;<br />
  private double width;</p>
<p>  public Rectangle(){<br />
    //do nothing<br />
  }<br />
  public void setLength(double l){<br />
    length=l;<br />
  }<br />
  public void setWidth(double w){<br />
    width=w;<br />
  }<br />
}</p>
<p>2.<br />
public class Rectangle1{<br />
  private double length;<br />
  private double width;</p>
<p>  public Rectangle1(){<br />
    //do nothing<br />
  }<br />
  public void setLength(double length){<br />
    this.length=length;<br />
  }<br />
  public void setWidth(double width){<br />
    this.width=width;<br />
  }<br />
}</p>
<p>(if you use the same argument name with the class name, you have to use <em>this</em> keyword)</p>
<p>examine this following snippet<br />
- Rectangle kotak = new Rectangle()<br />
- Rectangle is class method, owned by class, no need for isntantiation<br />
- to use : Rectangle.ClassMethod();<br />
- kotak = object, the instance method, owned by instance, need instantiation to use<br />
- to use : kotak.InstanceMethod();</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ylianto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ylianto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ylianto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ylianto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ylianto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ylianto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ylianto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ylianto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ylianto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ylianto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ylianto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ylianto.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ylianto.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ylianto.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=20&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ylianto.wordpress.com/2010/03/18/oop-week-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/75e6bf4320b9cef74319ac53638997e7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ylianto</media:title>
		</media:content>
	</item>
		<item>
		<title>O.O.P Class week 4</title>
		<link>http://ylianto.wordpress.com/2010/03/04/o-o-p-class-week-4/</link>
		<comments>http://ylianto.wordpress.com/2010/03/04/o-o-p-class-week-4/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 07:49:06 +0000</pubDate>
		<dc:creator>ylianto</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ylianto.wordpress.com/?p=11</guid>
		<description><![CDATA[What i learned from OOP Class week 4: information hiding: -public and private modifiers designate the accesibility of class components -we need to use methods to access it passing parameters: -check the method that you want to call (must match with the signature) -using the same name with what you declare (same data type too) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=11&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>What i learned from OOP Class week 4:</p>
<p>information hiding:<br />
-public and private modifiers designate the accesibility of class components<br />
-we need to use methods to access it</p>
<p>passing parameters:<br />
-check the method that you want to call (must match with the signature)<br />
-using the same name with what you declare (same data type too)</p>
<p>get the return from methods:<br />
   public double getBalance(){<br />
   //do some process</p>
<p>   return balance;<br />
   }</p>
<p>make class Account:<br />
public class Account{<br />
    private double balance;<br />
    private String ownerName;<br />
    private int accNumber;</p>
<p>    public Account(int newAccNumber, String newOwnerName, double newBalance) {<br />
      setData(newAccNumber, newOwnerName, newBalance);<br />
    }<br />
    public void print() {<br />
      System.out.println(&#8220;[" + accNumber + " " + ownerName + "]=&#8221; + balance);<br />
    }<br />
    public void setBalance(double newBalance) {<br />
      balance = newBalance;<br />
    }<br />
    public void setOwnerName(String newOwnerName) {<br />
      ownerName = newOwnerName;<br />
    }<br />
    public void setAccNumber(int newAccNumber) {<br />
      accNumber = newAccNumber;<br />
    }<br />
    public void setData(int newAccNumber, String newOwnerName, double newBalance){<br />
      setAccNumber(newAccNumber);<br />
      setOwnerName(newOwnerName);<br />
      setBalance(newBalance);<br />
    }<br />
    public double getBalance() {<br />
      //do some process</p>
<p>      return balance;<br />
    }<br />
}</p>
<p>make the TrxRunner:<br />
public class TrxRunner {<br />
  public static void main(String[] args){<br />
    // declaration<br />
    Account acct1 = new Account(10001 , &#8220;Stone Giant&#8221; , 0.);</p>
<p>    // initialization<br />
    acct1.setData(10001 , &#8220;StoneGiant&#8221; , 0.);</p>
<p>    // usage<br />
    acct1.print();</p>
<p>    // add money<br />
    acct1.setBalance(100.);</p>
<p>    // usage<br />
    System.out.println(&#8220;Current Balance= &#8221; + acct1.getBalance());<br />
  }<br />
}</p>
<p>&#8211;&gt; the result is:<br />
[10001 StoneGiant]=0.0<br />
Current Balance= 100.0</p>
<p>make ExPassByRef:<br />
public class ExPassByRef {<br />
  public void modify(int a, Account acct) {<br />
    a += 10;<br />
    acct.setOwnerName(&#8220;Windrunner&#8221;);<br />
  }</p>
<p>  public static void main(String[] args){<br />
    int x = 0;<br />
    Account acct1 = new Account(10001, &#8220;Stone Giant&#8221;, 0.);</p>
<p>    System.out.println(&#8220;x=&#8221; + x);<br />
    acct1.print();</p>
<p>    new ExPassByRef().modify(x, acct1);</p>
<p>    System.out.println(&#8220;x=&#8221; + x);<br />
    acct1.print();<br />
  }<br />
}</p>
<p>the result is&#8211;&gt;<br />
x=0<br />
[10001 Stone Giant]=0.0<br />
x=0<br />
[10001 Windrunner]=0.0</p>
<p>Question:<br />
1. A submarine can be used for 100 people. One day, a pregnant woman come and use that.<br />
   a few minutes after go, the ship is drowning. Why is that??<br />
2. Redo has just finished digging a hole. The hole is about 2x length, y depth, and 3z width.<br />
   find the volume of sands inside the hole if y=2x, y=z, z=2x!</p>
<p>thats all for today!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ylianto.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ylianto.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ylianto.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ylianto.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ylianto.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ylianto.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ylianto.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ylianto.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ylianto.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ylianto.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ylianto.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ylianto.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ylianto.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ylianto.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=11&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ylianto.wordpress.com/2010/03/04/o-o-p-class-week-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/75e6bf4320b9cef74319ac53638997e7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ylianto</media:title>
		</media:content>
	</item>
		<item>
		<title>O.O.P Week 3</title>
		<link>http://ylianto.wordpress.com/2010/02/25/o-o-p-week-3/</link>
		<comments>http://ylianto.wordpress.com/2010/02/25/o-o-p-week-3/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 08:58:45 +0000</pubDate>
		<dc:creator>ylianto</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ylianto.wordpress.com/?p=7</guid>
		<description><![CDATA[What do i learned from OOP class this week: - can&#8217;t do the test. - given a lot of examples &#62;simplest code public class Simplest{ public static void(String[] args){ //do nothing(cant be ran without method) } } &#62;next calculate public class Calculate{ public static void main(String[] args){ //set the value int income = 500000, expense [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=7&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>What do i learned from OOP class this week:</p>
<p>- can&#8217;t do the test.<br />
- given a lot of examples<br />
  &gt;simplest code<br />
    public class Simplest{<br />
    public static void(String[] args){<br />
    //do nothing(cant be ran without method)<br />
   }<br />
   }</p>
<p>  &gt;next calculate<br />
   public class Calculate{<br />
   public static void main(String[] args){<br />
   //set the value<br />
   int income = 500000, expense = 270000;<br />
   float base = 2.7f;<br />
   float height;<br />
   int saldo;<br />
   float area;</p>
<p>   height = 3.1f;</p>
<p>   //calculate<br />
   saldo = income &#8211; expense;<br />
   area = (float)1/2 * base * height;</p>
<p>   //print out the result<br />
   System.out.println(&#8220;My money now = &#8221; + saldo);<br />
   System.out.println(&#8220;Triangle area = &#8221; + area);<br />
}<br />
}<br />
and you should got:<br />
My money now = 230000<br />
Triangle area = 4.185</p>
<p>  &gt;next age<br />
public class CrossType{<br />
public static void main(String[] args){<br />
int age;<br />
age = Integer.parseInt(args[0]);<br />
age += 5;<br />
System.out.println(&#8220;Your age 5 years later : &#8221; + age);<br />
}<br />
}</p>
<p>  &gt;next standart IO<br />
import java.util.Scanner;<br />
public class MyScanner{<br />
public static void main(String[] args){<br />
System.out.print(&#8220;Your age is now = &#8220;);<br />
Scanner myScanner = new Scanner(System.in);<br />
int age = myScanner.nextInt();<br />
age += 5;<br />
System.out.println(&#8220;In the 5 years, your age will be &#8221; + age);<br />
}<br />
}</p>
<p>  &gt;next math class<br />
import java.util.Scanner;<br />
public class MyMath{<br />
public static void main(String[] args){<br />
double num, x, y;<br />
. . .<br />
num = Math.sqrt(Math.max(x,y) + 3.14);<br />
}<br />
}</p>
<p>  &gt;next gregorian calendar<br />
import java.util.GregorianCalendar;<br />
public class MyCalendar{<br />
public static void main(String[] args){<br />
GregorianCalendar now = new GregorianCalendar();<br />
System.out.println(&#8221; today is &#8221; + now.get(now.DATE) +<br />
&#8220;/&#8221; + now.get(now.MONTH) +<br />
&#8220;/&#8221; + now.get(now.YEAR));<br />
}<br />
}</p>
<p>- cases: make the degree converter between reamur and celcius, farenheit and celcius, and kelvin and celcius!!<br />
R = c*0.8<br />
F = c*1.8+30<br />
K = c+273<br />
public class DegreeConverter{</p>
<p>	public double getReamur(int celcius){<br />
	  return celcius*0.8;<br />
}<br />
	public double getFarenheit(int celcius){<br />
	  return celcius*1.8 + 30;<br />
}<br />
	public double getKelvin(int celcius){<br />
	  return celcius+273;<br />
public static void main(String[] args){<br />
	DegreeConverter x = new DegreeConverter();</p>
<p>	System.out.println(x.getReamur(50) + &#8221; &#8221; + x.getFarenheit(50) + &#8221; &#8221; + x.getKelvin(50));</p>
<p>	}<br />
}</p>
<p>task:<br />
-declare why that?? (getReamur, return, etc)<br />
-download and install netbeans<br />
-get tutorial video on how to use netbeans</p>
<p>thats all for today..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ylianto.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ylianto.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ylianto.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ylianto.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ylianto.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ylianto.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ylianto.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ylianto.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ylianto.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ylianto.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ylianto.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ylianto.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ylianto.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ylianto.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=7&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ylianto.wordpress.com/2010/02/25/o-o-p-week-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/75e6bf4320b9cef74319ac53638997e7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ylianto</media:title>
		</media:content>
	</item>
		<item>
		<title>O.O.P Class Week 2</title>
		<link>http://ylianto.wordpress.com/2010/02/19/o-o-p-class-week-2/</link>
		<comments>http://ylianto.wordpress.com/2010/02/19/o-o-p-class-week-2/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 07:53:10 +0000</pubDate>
		<dc:creator>ylianto</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ylianto.wordpress.com/?p=4</guid>
		<description><![CDATA[What I learned from OOP Class this week: 1.Last week Review -The movie WE 2010 and the UML created based on the movie 2.Read the pdf taken from e-learning -OOP tutorial -UML tutorial 3.Exercise -Create the UML and the coding based on a story given 4.What&#8217;s new?? -if you want to create a line that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=4&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>What I learned from OOP Class this week:</strong></p>
<p>1.<strong>Last week Review</strong><br />
-The movie WE 2010 and the UML created based on the movie</p>
<p>2.<strong>Read the pdf taken from e-learning</strong><br />
-OOP tutorial<br />
-UML tutorial</p>
<p>3.<strong>Exercise</strong><br />
-Create the UML and the coding based on a story given</p>
<p>4.<strong>What&#8217;s new??</strong><br />
-if you want to create a line that is not a part of your java code, use: //<br />
-if you want to create a paragraph that is not a part of your java code, use: /* and end it with: */<br />
-in java, print using System.out.println(&#8230;)<br />
-if you want to go to a disk, then just type the disk (ex: D:) (see the picture)<br />
-if you want to go to a specific folder, then use the changedirectory (ex: cd oop) -&gt; it will go to oop folder (see the picture)<br />
-if you have your java parts all in one folder, and you want to run them all, you dont need to compile them one by one, just use javac *.java and it will compile all your java files on that folder (see the picture)</p>
<p><a href="http://ylianto.files.wordpress.com/2010/02/java.jpg"><img src="http://ylianto.files.wordpress.com/2010/02/java.jpg?w=300&#038;h=150" alt="" title="java" width="300" height="150" class="alignnone size-medium wp-image-5" /></a></p>
<p>5.<strong>What is javac ?? </strong><br />
-Command to compile java files<br />
ex: javac Controller.java<br />
-after you run it with javac, you will automatically have .class file (Controller.class)</p>
<p>6.<strong>What is java ??</strong><br />
-Command to run a program<br />
ex: java Controller</p>
<p>That&#8217;s All for this week, thank you.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ylianto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ylianto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ylianto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ylianto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ylianto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ylianto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ylianto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ylianto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ylianto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ylianto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ylianto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ylianto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ylianto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ylianto.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=4&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ylianto.wordpress.com/2010/02/19/o-o-p-class-week-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/75e6bf4320b9cef74319ac53638997e7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ylianto</media:title>
		</media:content>

		<media:content url="http://ylianto.files.wordpress.com/2010/02/java.jpg?w=300" medium="image">
			<media:title type="html">java</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://ylianto.wordpress.com/2010/02/11/hello-world/</link>
		<comments>http://ylianto.wordpress.com/2010/02/11/hello-world/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 08:36:08 +0000</pubDate>
		<dc:creator>ylianto</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=1&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ylianto.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ylianto.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ylianto.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ylianto.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ylianto.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ylianto.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ylianto.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ylianto.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ylianto.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ylianto.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ylianto.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ylianto.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ylianto.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ylianto.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ylianto.wordpress.com&amp;blog=11976113&amp;post=1&amp;subd=ylianto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ylianto.wordpress.com/2010/02/11/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/75e6bf4320b9cef74319ac53638997e7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ylianto</media:title>
		</media:content>
	</item>
	</channel>
</rss>
