<< Chapter < Page Chapter >> Page >

Answer 15

Question 16

True or false? With a floating point type, positive exponent values mean that the decimal point should be shifted to the left. Negative exponent values meanthat the decimal point should be shifted to the right.

Answer 16

Question 17

True or false? Java supports two different floating point types:

  • float
  • double

Answer 17

Question 18

True or false? The purpose of the char type is to make it possible to represent the letters of the alphabet, the punctuation characters,and the numeric characters internally in the computer. This is accomplished by assigning a numeric value to each character.

Answer 18

Question 19

True or false? The char type uses a standard character representation known as Unicode to represent up to 65,535 different characters.

Answer 19

Question 20

True or false? In Java, you usually represent a character in your program by surrounding it with quotation marks as shown below:


Answer 20

Question 21

True or false? The boolean type can have three values:

  • true
  • false
  • maybe

Answer 21

Question 22

True or false? Java is an extensible programming language, meaning that there is a core component to the language that is always available. Beyondthe core component, different programmers can extend the language in different ways to meet their individual needs.

Answer 22

Question 23

True or false? As is the case in C++, one of the ways that individual programmers can extend the Java language is to create overloaded operators forthe primitive types.

Answer 23

Question 24

True or false? One of the ways that individual programmers can extend the Java language is to create new types.

Answer 24

Question 25

True or false? The specific Java mechanism that makes it possible for programmers to define new types is a mechanism known as the class definition .

Answer 25

What is the meaning of the following two images?

This image was inserted here simply to insert some space between the questions and the answers to keep them from being visible on the screen at thesame time.

The image is also an example of the kinds of things that we do in my course titled ITSE 2321, Object-Oriented Programming.

Missing image

This image was also inserted for the purpose of inserting space between the questions and the answers.

Missing image


Answer 25


Back to Question 25

Answer 24


Back to Question 24

Answer 23

False. Java does not allow programmers to create overloaded operators for the primitive types.

Back to Question 23

Answer 22


Back to Question 22

Answer 21

False. The boolean type can have only two values:

  • true
  • false

Back to Question 21

Answer 20

False. In Java, you usually represent a character in your program by surrounding it with apostrophes as shown below:


Back to Question 20

Answer 19


Back to Question 19

Answer 18


Back to Question 18

Answer 17


Back to Question 17

Answer 16

False. With a floating point type, positive exponent values mean that the decimal point should be shifted to the right . Negative exponent values mean that the decimal point should be shifted to the left .

Back to Question 16

Answer 15


Back to Question 15

Answer 14

False. Other than type char , there are no unsigned whole-number primitive types in Java.

Back to Question 14

Answer 13


Back to Question 13

Answer 12

False. In Java, there are five different whole-number types:

  • byte
  • short
  • int
  • long
  • char

Back to Question 12

Answer 11


Back to Question 11

Answer 10

False. The primitive types are part of the core language.

Back to Question 10

Answer 9


Back to Question 9

Answer 8

Four of the possible operations are:

  • You can add them together.
  • You can subtract one from the other.
  • You can multiply one by the other.
  • You can divide one by the other.

Back to Question 8

Answer 7

False. If you have an instance of the byte type, the set of all possible values that you can store in that instance is the set of all thewhole numbers ranging from -128 to +127.

Back to Question 7

Answer 6


Back to Question 6

Answer 5


Back to Question 5

Answer 4

False. In Java, data type boolean conceptually has nothing to do with numeric values, but deals only with the concept of true or false .

Back to Question 4

Answer 3


Back to Question 3

Answer 2

False. Some data types such at type int involve whole numbers only (no fractional parts are allowed) .

Back to Question 2

Answer 1


Back to Question 1


This section contains a variety of miscellaneous information.

Housekeeping material
  • Module name: Jb0150r Review: A Gentle Introduction to Java Data Types
  • File: Jb0150r.htm
  • Published: 11/21/12

Financial : Although the Connexions site makes it possible for you to download aPDF file for this module at no charge, and also makes it possible for you to purchase a pre-printed version of the PDF file, youshould be aware that some of the HTML elements in this module may not translate well into PDF.

I also want you to know that, I receive no financial compensation from the Connexions website even if you purchase the PDF version ofthe module.

In the past, unknown individuals have copied my modules from cnx.org, converted them to Kindle books, and placed them for sale onAmazon.com showing me as the author. I neither receive compensation for those sales nor do I know who does receive compensation. If youpurchase such a book, please be aware that it is a copy of a module that is freely available on cnx.org and that it was made andpublished without my prior knowledge.

Affiliation : I am a professor of Computer Information Technology at Austin Community College in Austin, TX.


Questions & Answers

what is the coefficient of -4×
Mehri Reply
the operation * is x * y =x + y/ 1+(x × y) show if the operation is commutative if x × y is not equal to -1
Alfred Reply
An investment account was opened with an initial deposit of $9,600 and earns 7.4% interest, compounded continuously. How much will the account be worth after 15 years?
Kala Reply
lim x to infinity e^1-e^-1/log(1+x)
given eccentricity and a point find the equiation
Moses Reply
12, 17, 22.... 25th term
Alexandra Reply
12, 17, 22.... 25th term
College algebra is really hard?
Shirleen Reply
Absolutely, for me. My problems with math started in First grade...involving a nun Sister Anastasia, bad vision, talking & getting expelled from Catholic school. When it comes to math I just can't focus and all I can hear is our family silverware banging and clanging on the pink Formica table.
I'm 13 and I understand it great
I am 1 year old but I can do it! 1+1=2 proof very hard for me though.
Not really they are just easy concepts which can be understood if you have great basics. I am 14 I understood them easily.
find the 15th term of the geometric sequince whose first is 18 and last term of 387
Jerwin Reply
I know this work
The given of f(x=x-2. then what is the value of this f(3) 5f(x+1)
virgelyn Reply
hmm well what is the answer
If f(x) = x-2 then, f(3) when 5f(x+1) 5((3-2)+1) 5(1+1) 5(2) 10
how do they get the third part x = (32)5/4
kinnecy Reply
make 5/4 into a mixed number, make that a decimal, and then multiply 32 by the decimal 5/4 turns out to be
can someone help me with some logarithmic and exponential equations.
Jeffrey Reply
sure. what is your question?
okay, so you have 6 raised to the power of 2. what is that part of your answer
I don't understand what the A with approx sign and the boxed x mean
it think it's written 20/(X-6)^2 so it's 20 divided by X-6 squared
I'm not sure why it wrote it the other way
I got X =-6
ok. so take the square root of both sides, now you have plus or minus the square root of 20= x-6
oops. ignore that.
so you not have an equal sign anywhere in the original equation?
is it a question of log
I rally confuse this number And equations too I need exactly help
But this is not salma it's Faiza live in lousvile Ky I garbage this so I am going collage with JCTC that the of the collage thank you my friends
Commplementary angles
Idrissa Reply
im all ears I need to learn
right! what he said ⤴⤴⤴
greetings from Iran
salut. from Algeria
what is a good calculator for all algebra; would a Casio fx 260 work with all algebra equations? please name the cheapest, thanks.
Kevin Reply
a perfect square v²+2v+_
Dearan Reply
kkk nice
Abdirahman Reply
Jeannette has $5 and $10 bills in her wallet. The number of fives is three more than six times the number of tens. Let t represent the number of tens. Write an expression for the number of fives.
August Reply
What is the expressiin for seven less than four times the number of nickels
Leonardo Reply
How do i figure this problem out.
how do you translate this in Algebraic Expressions
linda Reply
why surface tension is zero at critical temperature
I think if critical temperature denote high temperature then a liquid stats boils that time the water stats to evaporate so some moles of h2o to up and due to high temp the bonding break they have low density so it can be a reason
Need to simplify the expresin. 3/7 (x+y)-1/7 (x-1)=
Crystal Reply
. After 3 months on a diet, Lisa had lost 12% of her original weight. She lost 21 pounds. What was Lisa's original weight?
Chris Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!

Source:  OpenStax, Object-oriented programming (oop) with java. OpenStax CNX. Jun 29, 2016 Download for free at https://legacy.cnx.org/content/col11441/1.201
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Object-oriented programming (oop) with java' conversation and receive update notifications?