New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here


by: Mr. Molly Kessler


Mr. Molly Kessler
GPA 3.62

W. Duncan

Almost Ready


These notes were just uploaded, and will be ready to view shortly.

Purchase these notes here, or revisit this page.

Either way, we'll remind you when they're ready :)

Preview These Notes for FREE

Get a free preview of these Notes, just enter your email below.

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

W. Duncan
Class Notes
25 ?




Popular in Course

Popular in ComputerScienence

This 3 page Class Notes was uploaded by Mr. Molly Kessler on Tuesday October 13, 2015. The Class Notes belongs to CSC 1350 at Louisiana State University taught by W. Duncan in Fall. Since its upload, it has received 34 views. For similar materials see /class/222859/csc-1350-louisiana-state-university in ComputerScienence at Louisiana State University.

Similar to CSC 1350 at LSU

Popular in ComputerScienence


Reviews for COMP SCI I


Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 10/13/15
CSC 1350 Sep 7 Rectangle rect1 Rect1 new Rectangle10 5 80 100 Rectangle rect1 new Rectangle 10 5 80 10 Accessor and Mutator Methods 0 Accessor method does not change the state of its implicit parameter Double width boxgetWidth Mutator method changes the state ofits implicit parameter Boxtranslate15 25 The API Documentation 0 API Application Programming Interface 0 API documentation lists classes and methods in the Java library Packages 0 Package a collection of classes with a related Object References 0 Object reference describes the location of an object o The new operator returns a reference to a new object Rectangle box new Rectangle 0 Multiple object variables can refer to the same object Rectangle box new Rectangle 5 10 20 30 Rectangle box2 box Box2translate15 25 o Primitive type variables i object variables CSC 1350 Sep 2 Objects and Classes 0 Object entity that you can manipulate in your programs by calling methods 0 Each object belongs to a class 0 Example Systemout belongs to the class PrintStream Methods 0 Method sequence of instructions that accesses the data of an object 0 You manipulate objects by calling its methods 0 Class declares the methods that you can apply to its objects 0 Class determines legal methods String greeting quotHelloquot greetingprintln Error greetinglength OK 0 Public Interface specifies what you can do with the objects ofa class Overloaded Method Overloaded method when a class declares two methods with the same name but different Polymorphism String Methods 0 Length counts the number of characters in a string String greeting quotHello World int n greetinglength sets 11 to 13 o toUpperCase creates another String object that contains the characters of the original string with lowercase letters converted to uppercase String river quotMississippiquot String bigRiver rivertoUpperCase sets big River to quotMISSISSIPPIquot When applying a method to an object make sure method is defined in the appropriate class Parameters 0 Parameter an input to a method 0 Implicit parameter the object on which a method is invoked Systemoutprintlngreeting o Explicit parameters all parameters except the implicit parameter Systemoutprintlngreeting 0 Not all methods have explicit parameters Passing Reture Values 0 You can also use the return value as a parameter of another method Systemoutprintlngreetinglength A More Complex Call String method replace carries out a searchandreplace operation riverreplace quotissippquot quotourquot constructs a new string quotMissouriquot Rectangular Shapes and Rectangle Objects Objects of type Rectangle describe rectangular shapes Rectangle has 4 Xy coordinate of top left width height A rectangle object isn t a rectangular shape it is an object that contains a set of numbers that describe the rectangle Constructing Objects New Rectangle5 10 2 0 3 0


Buy Material

Are you sure you want to buy this material for

25 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Jim McGreen Ohio University

"Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Anthony Lee UC Santa Barbara

"I bought an awesome study guide, which helped me get an A in my Math 34B class this quarter!"

Bentley McCaw University of Florida

"I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"


"Their 'Elite Notetakers' are making over $1,200/month in sales by creating high quality content that helps their classmates in a time of need."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.