• 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 2 out of 7 pages
Exam (elaborations)

Java Exam ACTUAL Exam Questions and CORRECT Answers

Document preview thumbnail
Preview 2 out of 7 pages

Java Exam ACTUAL Exam Questions and CORRECT Answers class - CORRECT ANSWER identifier - CORRECT ANSWER - data type of an object, description of a kind of object - consists of alphabetical characters and digits, first character must be alphabetical, the remaining characters can be mixed alphabetic characters and digits, no spaces allowed inside the name reserved word - CORRECT ANSWER - a word like class that has a special meaning to the system, must only use reserved words for their intended purpose

Content preview

Java Exam ACTUAL Exam Questions and
CORRECT Answers
class - CORRECT ANSWER - data type of an object, description of a kind of object



identifier - CORRECT ANSWER - consists of alphabetical characters and digits, first
character must be alphabetical, the remaining characters can be mixed alphabetic characters and
digits, no spaces allowed inside the name


reserved word - CORRECT ANSWER - a word like class that has a special meaning to the
system, must only use reserved words for their intended purpose


main method - CORRECT ANSWER - where the java virtual machine starts running the
program


statement - CORRECT ANSWER - a command for the computer to do something,
followed by a semicolon


methods - CORRECT ANSWER - built out of statements



statement - CORRECT ANSWER - a command for the computer to do something,
followed by a semicolon


methods - CORRECT ANSWER - built out of statements



string literal - CORRECT ANSWER - a sequence of characters, consists of characters
between quote marks, but does not include the quote marks, can contain any valid character,
including white space and punctation


comment - CORRECT ANSWER - a note written to a human reader of a program

, package - CORRECT ANSWER - a collection of classes which may be used in your
program


input stream - CORRECT ANSWER - a source of input data



output stream - CORRECT ANSWER - the output data



nextInt() - CORRECT ANSWER - method of scanner object reads in a string of digits and
converts them into an int type, scans through the input stream character by character, gathering
characters into a group that can be converted into numeric data


data type - CORRECT ANSWER - a scheme for using bits to represent values; values are
not just numbers, but any kind of data that a computer can process; all values in a computer are
represented using one data type or another


primitive data - CORRECT ANSWER - uses a small, fixed number of bytes, means a
fundamental component that is used to create other, larger parts


object - CORRECT ANSWER - a big block of data, an object may use as many bytes of
memory, usually consists of many internal pieces


integer primitive type - CORRECT ANSWER - have no fractional part



floating point - CORRECT ANSWER - have a fractional part



short data type - CORRECT ANSWER - uses 16 bits



long data type - CORRECT ANSWER - uses 64 bits

Document information

Uploaded on
April 17, 2025
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.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.
STANFORDGRADESS
4.0
(242)
Sold
1704
Followers
109
Items
123764
Last sold
10 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