Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 2 pages
Exam (elaborations)

ITSC 1213 Exam 1 Study guide with complete solutions!!

Document preview thumbnail
Preview 1 out of 2 pages

ITSC 1213 Exam 1 Study guide with complete solutions!!

Content preview

ITSC 1213 Exam 1 Study guide with complete solutions!!
A class is a template for an - -object

-An object is an ____ of a class - -instance

-Class definitions have two parts - -Fields and methods

-What are the two types of access to class members we have done - -public and private

-What is the purpose of the constructor method? - -Used to initialize the instances of a class

-Creating an object is called - -instantiation

-A java project is made up of ____ definitions - -class

-A class file has two parts - -fields and methods

-Putting the data for an object and the methods that can access and change this data together
in the same file is called - -Encapsulation

-What are the two categories of data types in java - -primitive and reference

-The public class name in a java source code file must have the same names as the - -file name

-Suppose you have written a class definition for a student class.
Write the line of code you would use to declare a reference to a student object - -Student
referenceName;

-Write the line of code you would use to create a Student object and assign its address to the
reference you declared. - -referenceName = new Student();

-What is the purpose of the mutator(setter) methods? - -Stores a value in a field or in some
other way changes the value of the field

-What is the purpose of accesser (getter) methods? - -Get methods return a value from an
object

-What are the two categories of java types - -Primitave and reference

-What is a formal parameter - -The identifier used in a method to stand for the value that is
passed into the method by the caller

Document information

Uploaded on
August 14, 2025
Number of pages
2
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$19.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
eduustudent
3.0
(4)
Sold
19
Followers
0
Items
1782
Last sold
1 month ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions