• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Exam (elaborations)

Java – Terms UPDATED Exam Questions and CORRECT Answers

Document preview thumbnail
Preview 1 out of 4 pages

Java – Terms UPDATED Exam Questions and CORRECT Answers class - CORRECT ANSWER - a template for an object, containing all the variables and methods each object gets when instantiated. object/instance - CORRECT ANSWER - used to get the program to do what you want, using the variables and methods defined in the class. method - CORRECT ANSWER instructions. instantiation - CORRECT ANSWER the constructors in that class - Java's term for a function or command - they are a set o

Content preview

Java – Terms UPDATED Exam Questions
and CORRECT Answers
class - CORRECT ANSWER - a template for an object, containing all the variables and
methods each object gets when instantiated.


object/instance - CORRECT ANSWER - used to get the program to do what you want,
using the variables and methods defined in the class.


method - CORRECT ANSWER - Java's term for a function or command - they are a set of
instructions.


instantiation - CORRECT ANSWER - creating a new object from a class by calling one of
the constructors in that class


instance variable - CORRECT ANSWER - a variable that's defined outside the methods of
a class, so it's available to all methods in that class (if it's public, all classes in the project)


constructor - CORRECT ANSWER - a declaration in a Java class that instantiates an
object


default constructor - CORRECT ANSWER - a constructor with no parameters



parameters - CORRECT ANSWER - variables you put inside the parentheses of a method,
separated by commas, to indicate what data you'd like to pass to that method


cast - CORRECT ANSWER - to convert one data type into another by putting the desired
type in parentheses in front of the original


scope - CORRECT ANSWER - the range of access a variable has within a project

Document information

Uploaded on
April 17, 2025
Number of pages
4
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

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.
STANFORDGRADESS
4.0
(242)
Sold
1704
Followers
109
Items
123764
Last sold
8 hours 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