JCC CSC 1590 Computing Fundamentals I

Fun For Everyone

Next assignment:




Please use your time today to type in the Circle class that we wrote in class last week. 

 When you create a project, create 2 classes: Circle class and a driver class.

 In  your driver class, please write a main which instanciates a Circle object, and makes a call to each of the Circle methods, followed by an output that states the result of this call.

 For example:

Circle myCircle = new Circle ();

myCircle.setRadius (6);

double r = myCircle.getRadius();

System.out.println (”This is a circle with radius: ” + r);

I’m learning a lot, but miss you guys.  See you Monday.

Create a free edublog to get your own comment avatar (and more!)

8 Responses to “Next assignment:”

  1.   Courtney Says:

    HELLO!

  2.   Kull-The Conquerer Says:

    Class Circle()
    {
    public Circle()
    {
    radius = 1;

  3.   Kull-The Conquerer Says:

    oops

  4.   Mrs. Furman Says:

    Hi guys, I have 4 minutes to use the computer before I have to let someone else… make that 3 minutes.

  5.   Mrs. Furman Says:

    How is the program going?

  6.   Mrs. Furman Says:

    I will be able to check back a little later, if you have questions. I’m not sure why some of the code ended up in here… Was there a question?

  7.   GOD Says:

    Mrs. Furman, i don’t like when your not here :-( im lost lol

  8.   Penis Enlargement Pills Says:

    For penis enlargement visit http://www.hqpicture.com

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image