Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

32. Floating-point literals are of type a. float by default. a float b. double c. real d. decimal 33. A a. consumer b. servant c.

image text in transcribed
32. Floating-point literals are of type a. float by default. a float b. double c. real d. decimal 33. A a. consumer b. servant c. caller d. client of a class called MyClass is another class whose methods call the methods of MyClass. 34. The format specifier a. %f b, %d c.9afd d.90r is used to output values of type float or double. 35. The format specifier % 2f specifies that two digits of precision should be output in the floating- point number. a. to the left of the decimal point b. centered c. to the right of the decimal point d. None of the above. 36. 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 a. static b. reference types. c. declared d. source 37. Which of the following statements is false? a. A primitive-type variable can store exactly one value of its declared type at a time. b. Variables of types byte, char, short, int, long, float and double are initialized to 0. d. Primitive-type instance variables are initialized by default. c. Variables of type Boolean are initialized to true. 38. Reference-type variables (called references) storein memory a. the value of an object b. a copy of an object c. the location of an object d. the size of an object

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions