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 4 pages
Exam (elaborations)

CSIS 212 Quiz 2 - Question and Answers | VERIFIED SOLUTION

Document preview thumbnail
Preview 1 out of 4 pages

CSIS 212 Quiz 2 - Question and Answers • Question 1 1 out of 1 points You can declare new classes as needed; this is one reason Java is known as a(n) ________ language. Selected Answer: extensible • Question 2 1 out of 1 points The format specifier %.2f specifies that two digits of precision should be output ________ in the floating-point number. Selected Answer: to the right of the decimal point • Question 3 1 out of 1 points A class that creates an object of another class, then calls the object’s methods, is called a(n) ________ class. Selected Answer: driver. • Question 4 1 out of 1 points Which of the following statements is false? Selected Answer: Variables of type boolean are initialized to true. • Question 5 1 out of 1 points Which of the following statements is false? Selected Answer: Classes in the same package are implicitly imported into main. • Question 6 1 out of 1 points Which of the following statements is true? Selected Answer: Variables or methods declared with access modifier private are accessible only to methods of the class in which they’re declared. • Question 7 1 out of 1 points Which of the following statements is false? CSIS 212 Quiz 2 - Question and Answers Selected Answer: To call a method of an object, follow the object name with a comma, the method name and a set of parentheses containing the method’s arguments. • Question 8 1 out of 1 points Each class you create becomes a new ________ that can be used to declare variables and create objects. Selected Answer: type. • Question 9 1 out of 1 points Which of the following statements is false? Selected Answer: Classes often provide public methods to allow the class’s clients to set or get private instance variables; the names of these methods must begin with set or get. • Question 10 1 out of 1 points Types in Java are divided into two categories. The primitive types are boolean, byte, char, short, int, long, float and double. All other types are ________ types. Selected Answer: reference • Question 11 1 out of 1 points Which of the following statements is false? Selected Answer: Instance variables can be declared anywhere inside a class. • Question 12 1 out of 1 points Which of the following statements is false? Selected Answer: Keyword null indicates that a method will perform a task but will not return any information. • Question 13 1 out of 1 points Java requires a ________ call for every object that’s created. Selected Answer: constructor • Question 14


Document information

Uploaded on
January 17, 2022
Number of pages
4
Written in
2021/2022
Type
Exam (elaborations)
Contains
Questions & answers
$12.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.
Topscorer1
3.8
(40)
Sold
250
Followers
207
Items
7228
Last sold
4 months 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

Whoops! We can’t load your doc right now. Try again or contact support.