<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://rockhopper.monmouth.edu/cs/jchung/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://rockhopper.monmouth.edu/cs/jchung/feed.php">
        <title>Joe Chung&lt;br&gt;Monmouth U. Homepage - cs176:501b</title>
        <description></description>
        <link>http://rockhopper.monmouth.edu/cs/jchung/</link>
        <image rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/_media/wiki/logo.png" />
       <dc:date>2026-05-12T03:18:02+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/arrays_as_method_input_parameters_sorting_and_searching_arrays?rev=1423175689"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/array_of_stars?rev=1429883695"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/comparable_sorting_files_exceptions?rev=1523368194"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/fraction_class_gui_example?rev=1403555504"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/guis_intro?rev=1522158459"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/inheritance_comparable_sorting?rev=1259857447"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/inheritance_intro?rev=1490104483"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/introduction_to_classes_and_oop?rev=1422024549"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/introduction_to_classes_and_oop_continued?rev=1337789493"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/objects_as_class_fields_arraylist?rev=1255451404"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/objects_in_methods_objects_as_class_fields_the_arraylist_class?rev=1709315022"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/overloading_methods_and_constructors?rev=1297205702"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/recursion?rev=1523972641"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/review_of_java_basics_ides_intro_to_two-dimensional_arrays?rev=1429883236"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/robots?rev=1253647786"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/start?rev=1419349201"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/static_class_members_enumerated_types?rev=1722873810"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/static_class_members_the_tostring_method_this_enumerated_types?rev=1257273026"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/the_object_class_abstract_classes_interfaces?rev=1523022789"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/this_keyword?rev=1402513084"/>
                <rdf:li rdf:resource="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/triangle_inheritance_example?rev=1490362818"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://rockhopper.monmouth.edu/cs/jchung/_media/wiki/logo.png">
        <title>Joe Chung<br>Monmouth U. Homepage</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/</link>
        <url>http://rockhopper.monmouth.edu/cs/jchung/_media/wiki/logo.png</url>
    </image>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/arrays_as_method_input_parameters_sorting_and_searching_arrays?rev=1423175689">
        <dc:format>text/html</dc:format>
        <dc:date>2015-02-05T22:34:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Arrays as Method Input Parameters, Sorting and Searching Arrays, Copying Arrays</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/arrays_as_method_input_parameters_sorting_and_searching_arrays?rev=1423175689</link>
        <description>Arrays as Method Input Parameters, Sorting and Searching Arrays, Copying Arrays

----------

Arrays as Method Input Parameters

	*  Discuss online notes.

----------

Sorting and Searching Arrays

	*  Search Overview

	*  Searching
		*  Linear search
		*  Binary search


	*  Sorting
		*  Selection sort
		*  Bubble sort


----------</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/array_of_stars?rev=1429883695">
        <dc:format>text/html</dc:format>
        <dc:date>2015-04-24T13:54:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>2D Array Lab Activity</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/array_of_stars?rev=1429883695</link>
        <description>2D Array Lab Activity

Try writing a simple program ArrayOfStars.java that uses a 2D (two-dimensional) array to store and print a box of stars (asterisks):

Sample program output:


Input number or rows:
3
Input number of columns:
5

*****
*   *
*****</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/comparable_sorting_files_exceptions?rev=1523368194">
        <dc:format>text/html</dc:format>
        <dc:date>2018-04-10T13:49:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>The Comparable Interface for Sorting Objects</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/comparable_sorting_files_exceptions?rev=1523368194</link>
        <description>The Comparable Interface for Sorting Objects

----------

Objectives

	*  Learn how to sort collections of objects (such as PlayList of Songs) by implementing the Comparable interface.

----------

Comparable &amp; Sorting

	*  There are many sorting algorithms.</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/fraction_class_gui_example?rev=1403555504">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-23T20:31:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Fraction Calculator GUI</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/fraction_class_gui_example?rev=1403555504</link>
        <description>Fraction Calculator GUI

----------

Create FractionCalc.java. This will be a GUI fraction calculator that looks like the following:



----------</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/guis_intro?rev=1522158459">
        <dc:format>text/html</dc:format>
        <dc:date>2018-03-27T13:47:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Inheritance and GUIs</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/guis_intro?rev=1522158459</link>
        <description>Inheritance and GUIs

----------

Quoting from a commentary on teaching GUIs:

“Although inheritance is very important to understand, it isn't used that often. One of the few places where it is used to great advantage is in GUIs. The GUI system can and should be used as a real, not contrived, example of inheritance.</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/inheritance_comparable_sorting?rev=1259857447">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-03T16:24:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Inheritance</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/inheritance_comparable_sorting?rev=1259857447</link>
        <description>Inheritance

----------

Inheritance

	*  See Gaddis Book Chapter 11 presentation.
		*  Topics we'll cover:
			*  inheritance,
			*  super() (superclass constructors), 
			*  overriding superclass methods, 
			*  “protected” access modifier, 
			*  polymorphism,
			*  the</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/inheritance_intro?rev=1490104483">
        <dc:format>text/html</dc:format>
        <dc:date>2017-03-21T13:54:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Introduction to Inheritance</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/inheritance_intro?rev=1490104483</link>
        <description>Introduction to Inheritance

----------

Topics we'll cover:

	*  inheritance,
	*  super() (superclass constructors), 
	*  overriding superclass methods, 
	*  “protected” access modifier, 

----------

Motivation

	*  Suppose you will define classes to model circles, rectangles, and triangles. These classes have many features in common. What is the best way to design these classes to</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/introduction_to_classes_and_oop?rev=1422024549">
        <dc:format>text/html</dc:format>
        <dc:date>2015-01-23T14:49:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Classes and Object Oriented Programming (OOP)</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/introduction_to_classes_and_oop?rev=1422024549</link>
        <description>Classes and Object Oriented Programming (OOP)

----------

Introduction to Classes and OOP

Overview

	*  Classes combine data and methods.
		*  A class defines a data type.
		*  Classes correspond to concepts in the problem domain.
		*  Classes reduce complexity by increasing coherence and reducing coupling.</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/introduction_to_classes_and_oop_continued?rev=1337789493">
        <dc:format>text/html</dc:format>
        <dc:date>2012-05-23T16:11:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Introduction to Classes and OOP (continued)</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/introduction_to_classes_and_oop_continued?rev=1337789493</link>
        <description>Introduction to Classes and OOP (continued)

----------

Setup

Run the following command in a Terminal to retrieve the programs shown on this page:
  $ ~jchung/cs176/getfiles
----------

Overview

Purpose of this lesson

	*  Make class data private for reliability.</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/objects_as_class_fields_arraylist?rev=1255451404">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-13T16:30:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Objects passed to/returned from methods, Objects as Class fields, the ArrayList Class</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/objects_as_class_fields_arraylist?rev=1255451404</link>
        <description>Objects passed to/returned from methods, Objects as Class fields, the ArrayList Class

----------

----------</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/objects_in_methods_objects_as_class_fields_the_arraylist_class?rev=1709315022">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-01T17:43:42+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Objects in Methods, Objects as Class Fields, Arrays of Objects</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/objects_in_methods_objects_as_class_fields_the_arraylist_class?rev=1709315022</link>
        <description>Objects in Methods, Objects as Class Fields, Arrays of Objects

----------

Objects in Methods

	*  We will examine the topic of methods that return objects, and also objects passed to methods as input parameters.

	*  We will design and implement a</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/overloading_methods_and_constructors?rev=1297205702">
        <dc:format>text/html</dc:format>
        <dc:date>2011-02-08T22:55:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Overloading Methods and Constructors</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/overloading_methods_and_constructors?rev=1297205702</link>
        <description>Overloading Methods and Constructors

----------

Setup

Run the following command in a Terminal to retrieve class and program files shown on this page:
  $ ~jchung/cs176/getfiles
----------

Overloading Methods

	*  “Overloading”: One or more methods</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/recursion?rev=1523972641">
        <dc:format>text/html</dc:format>
        <dc:date>2018-04-17T13:44:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Recursion</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/recursion?rev=1523972641</link>
        <description>Recursion

----------

Introduction

	*  Three basic structures in programming
		*  1 - top-down execution of programs
			*  obvious

		*  2 - selection structures
			*  branching of program execution based on selection (if, if-else, ...)

		*  3 - repetition structures</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/review_of_java_basics_ides_intro_to_two-dimensional_arrays?rev=1429883236">
        <dc:format>text/html</dc:format>
        <dc:date>2015-04-24T13:47:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Review of Java Basics, IDEs, Intro to Two-Dimensional Arrays</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/review_of_java_basics_ides_intro_to_two-dimensional_arrays?rev=1429883236</link>
        <description>Review of Java Basics, IDEs, Intro to Two-Dimensional Arrays

----------

Review of Java Basics (with an intro to IDEs)

	*  Integrated Development Environments
		*  Recommended link: &lt;http://www.leepoint.net/notes-java/tools/10ide.html&gt;
		*  Advantages over using simple text editors plus command line:</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/robots?rev=1253647786">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-22T19:29:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title></title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/robots?rev=1253647786</link>
        <description>User-agent: *
Disallow: /</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/start?rev=1419349201">
        <dc:format>text/html</dc:format>
        <dc:date>2014-12-23T15:40:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>CS 176 / 501b - Intro to CompSci II / Program Development</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/start?rev=1419349201</link>
        <description>CS 176 / 501b - Intro to CompSci II / Program Development

Semester: TBA

----------

Information / Announcements

----------

Notes

	*  1 - Review of Java basics, IDEs, Intro to Two-Dimensional Arrays

	*   2 - Arrays as Method Input Parameters, Sorting and Searching Arrays, Copying Arrays
			*  CompareSearch example


	*  3 - Review of Classes and OOP
			*  MagicEightBall.java and TestMagicEightBall.java
				*  BlueJ project zip: MagicEightBall.zip 

			*  The Three, or sometimes Four Pillars…</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/static_class_members_enumerated_types?rev=1722873810">
        <dc:format>text/html</dc:format>
        <dc:date>2024-08-05T16:03:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Static Class Variables and Methods, What's This?</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/static_class_members_enumerated_types?rev=1722873810</link>
        <description>Static Class Variables and Methods, What's This?

----------

Static Class Variables and Methods

	*  Static class members (Class variables and methods that are declared static)
		*  Belong to the class itself and are independent of any one instance (object) of the class.</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/static_class_members_the_tostring_method_this_enumerated_types?rev=1257273026">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-03T18:30:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Static Class Members, the toString Method, &quot;this&quot;, Enumerated Types</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/static_class_members_the_tostring_method_this_enumerated_types?rev=1257273026</link>
        <description>Static Class Members, the toString Method, &quot;this&quot;, Enumerated Types

----------

Static Class Members

	*  Related reading: Chapter 9.1

	*  Static class members (Class variables and methods that are declared static)
		*  Belong to the class, but are independent of any one instance (object) of the class.</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/the_object_class_abstract_classes_interfaces?rev=1523022789">
        <dc:format>text/html</dc:format>
        <dc:date>2018-04-06T13:53:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>The Object Class, Abstract Classes, Interfaces, Polymorphism</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/the_object_class_abstract_classes_interfaces?rev=1523022789</link>
        <description>The Object Class, Abstract Classes, Interfaces, Polymorphism

----------

	*  The topics covered here are related to inheritance.

----------

The Object Class

	*  Every class in Java is descended from the java.lang.Object class.
		*  If no inheritance is specified when a class is defined, the superclass of the class is</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/this_keyword?rev=1402513084">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-11T18:58:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>The &quot;this&quot; keyword</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/this_keyword?rev=1402513084</link>
        <description>----------

The &quot;this&quot; keyword

----------

	*  The “this” reference variable

	*  “this” is the name of a reference variable that an object can use to refer to itself.
		*  Can be used in only non-static methods.


	*  Common use of “this”</description>
    </item>
    <item rdf:about="http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/triangle_inheritance_example?rev=1490362818">
        <dc:format>text/html</dc:format>
        <dc:date>2017-03-24T13:40:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>The Triangle Class</title>
        <link>http://rockhopper.monmouth.edu/cs/jchung/cs176/501b/triangle_inheritance_example?rev=1490362818</link>
        <description>The Triangle Class

Open the  InheritTriangle project in BlueJ.

Make the Triangle class extend the GeometricObject1 class. Modify the Triangle class' toString() method to display the Triangle's area, perimeter, color and whether it is filled or not.

Write a test program testTriangle.java</description>
    </item>
</rdf:RDF>
