<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chance Walker</title>
    <description>The latest articles on DEV Community by Chance Walker (@drakendel).</description>
    <link>https://dev.to/drakendel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F117515%2F7c5a72f5-3af8-4c8c-a604-f025241fdacf.jpg</url>
      <title>DEV Community: Chance Walker</title>
      <link>https://dev.to/drakendel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/drakendel"/>
    <language>en</language>
    <item>
      <title>FIXED: Troubles in Java please help, my teacher has been ignoring my questions for almost a week</title>
      <dc:creator>Chance Walker</dc:creator>
      <pubDate>Sun, 25 Nov 2018 00:10:39 +0000</pubDate>
      <link>https://dev.to/drakendel/troubles-in-java-please-help-my-teacher-has-been-ignoring-my-questions-for-almost-a-week-3i8h</link>
      <guid>https://dev.to/drakendel/troubles-in-java-please-help-my-teacher-has-been-ignoring-my-questions-for-almost-a-week-3i8h</guid>
      <description>&lt;p&gt;package com.eclipse.chancewalker;&lt;/p&gt;

&lt;p&gt;public class rectangleCW {&lt;br&gt;
    private static double width;&lt;br&gt;
    private static double height;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public rectangleCW() {
    width = 1;
    height = 1;
}

public rectangleCW(double w, double h) {
    width = w;
    height = h;
}

public double getArea() {
    return width * height;
}

public double getPerimeter() {
    return width + height + width + height;
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  }
&lt;/h2&gt;

&lt;p&gt;package com.eclipse.chancewalker;&lt;/p&gt;

&lt;p&gt;public class rectangleTestCW {&lt;br&gt;
        public static void main(String[] args) {&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    rectangleCW r1 = new rectangleCW(4, 40);
    rectangleCW r2 = new rectangleCW(3.5, 35.9);

    System.out.println("The height for rectangle 1 is: " + 40);
    System.out.println("The width for rectangle 1 is: " + 4);
    System.out.println("The area for rectangle 1 is: " + r1.getArea());
    System.out.println("The perimeter for rectangle 1 is: " + r1.getPerimeter());

    System.out.println("The height for rectangle 2 is: " + 359);
    System.out.println("The width for rectangle 2 is: " + 3.5);
    System.out.println("The area for rectangle 2 is: " + r2.getArea());
    System.out.println("The perimeter for rectangle 2 is: " + r2.getPerimeter());
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

</description>
      <category>school</category>
      <category>java</category>
      <category>project</category>
    </item>
  </channel>
</rss>
