Top Posters
Since Sunday
y
2
m
2
m
2
u
2
m
2
B
2
M
2
e
2
k
2
N
2
y
2
m
2
New Topic  
Eels Eels
wrote...
Posts: 716
Rep: 0 0
7 years ago
Which of the following correctly tests the char variable chr to determine whether it is not equal to the character B?
A) if (chr > 'B')

B) if (chr != "B")

C) if (chr < 'B')

D) if (chr != 'B')
Textbook 
Starting Out with Java: Early Objects

Starting Out with Java: Early Objects


Edition: 4th
Author:
Read 150 times
3 Replies
Replies
Answer verified by a subject expert
ToothyToothy
wrote...
Top Poster
Posts: 744
Rep: 4 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

Eels Author
wrote...
7 years ago
This helped so much
wrote...
7 years ago
I'm happy to help
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  513 People Browsing
Related Images
  
 347
  
 554
  
 301
Your Opinion
What's your favorite math subject?
Votes: 559

Previous poll results: Who's your favorite biologist?