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

Computer Science II

by: Lisette Hodkiewicz

Computer Science II CS 1120

Lisette Hodkiewicz
GPA 3.83


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

Class Notes
25 ?




Popular in Course

Popular in ComputerScienence

This 3 page Class Notes was uploaded by Lisette Hodkiewicz on Wednesday September 30, 2015. The Class Notes belongs to CS 1120 at Western Michigan University taught by Coffman-Wolph in Fall. Since its upload, it has received 18 views. For similar materials see /class/216888/cs-1120-western-michigan-university in ComputerScienence at Western Michigan University.

Similar to CS 1120 at WMU

Popular in ComputerScienence


Reviews for Computer Science II


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: 09/30/15
Hasa Relationship Composition a class can have references to objects of other classes as members an object contains as members references to other objects implies containment ie one object inside another lsa Relationship Inheritance a class is part of the classification hierarchy with its parent class an object of a derived class can be heated as an object of its base class Abstract Virtual O a modifier used with classes methods properties indexes and events enables you to create classes and class members that are incomplete and must be implemented in a derived class are quotspecialquot base classlike they have normal class members abstract members and are declared without implementation all classes derived directly from abstract classes must implement the abstract methods sits towards the top of class hierarchy think of it as a framework establish structure and meaning to code The implementation is provided by an overriding method which is a member of a nonabstract class A nonabstract class derived from an abstract class must include actual implementations of all inherited abstract methods and accessors a modifier used with methods property indexes or event declarations allows it to be overridden in a derived class implementation of a virtual method can be changed by an overriding member in a derived class Override Static O a modifier required to extend or modify the abstract or virtual implementation of an inherited method property indexer or event overridden base method must be virtual abstract or override a modifier can be used with classes fields methods properties operators events and constructors if a static keyword is applied to a class all members of the class must be static most commom static static void Mainstring args used to create methodsfunctions that can be accessed without creating an instance of the class can be used where there is no data or behavior in the class that depends on object idenity Sealed a modifier applied to classes instance methods and properties not be inherited overrides a method in a base class but cannot be overridden further by any derived classes when applied to a method or property the sealed modifier must always be used with override an error occurs if try to use sealed class as a base class or make abstract if sealed is used in class declaration it prevents inheritance example sealed class MyClass public int c Example I showed at review Abstract class public abstract class MyClass private string name public string Name i get i set return name name value public abstract string changeNamestring n Class derived from abstract class class Person MyClass l public Personstring n Name n l public abstract void myFunc public override string changeNamestring n i Name n return Name The main class Class Program static void Main string args Person myPerson new Personquotstephanyquot Console WriteLine myPerson Name I


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

Steve Martinelli UC Los Angeles

"There's no way I would have passed my Organic Chemistry class this semester without the notes and study guides I got from StudySoup."

Janice Dongeun University of Washington

"I used the money I made selling my notes & study guides to pay for spring break in Olympia, Washington...which was Sweet!"

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."

Parker Thompson 500 Startups

"It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

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.