CS 106A Lecture Notes - Lecture 19: Regrading

35 views2 pages

Document Summary

Midterms will be available to pick up at gates computer science cabinets shortly after class today: re-grading procedure. Must run it on eclipse first if it is an interpretation problem: answer key for exam is available on the website already. Classes and objects (cont. : a class helps to group different objects together, methods written for that class can be used over and over again. Methods inside a class can access private fields of that class. Need to specify which object to use the method on in run method: calling a class and creating a new one is creating a new object. A constructor creates a new object for a class. Multiple constructors can be created for different numbers of parameters that are passed to create a new object. It initializes the fields that are passed into the parameters. Abstraction: abstraction: a distancing between ideas and details, we can use classes and objects without knowing how they work.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents