menu-iconExamlexExamLexServices

Discover

Ask a Question
  1. All Topics
  2. Topic
    Computing
  3. Study Set
    Java Programming Study Set 1
  4. Exam
    Exam 7: Characters, Strings and the Stringbuilder
  5. Question
    Assume That AName Refers to Roger
Solved

Assume That AName Refers to Roger

Question 82

Question 82

Multiple Choice

Assume that aName refers to Roger. What is returned by aName.compareTo("Robert") ; 


A) 0
B) positive number
C) negative number
D) false

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Q72: The _ method requires an integer argument

Q73: Why would you use the append() method?

Q74: The StringBuffer class is more efficient than

Q75: String greeting = "Welcome back"; <br>Using the

Q76: If you try to use an index

Q77: Match each term with the correct statement

Q78: Explain what is needed to declare a

Q79: String s and other objects that can't

Q80: The Character class _ from java.lang.Object .<br>A)

Q81: String s  and other objects that can't

Examlex

ExamLex

About UsContact UsPerks CenterHomeschoolingTest Prep

Work With Us

Campus RepresentativeInfluencers

Links

FaqPricingChrome Extension

Download The App

Get App StoreGet Google Play

Policies

Privacy PolicyTerms of ServiceHonor CodeCommunity Guidelines

Scan To Download

qr-code

Copyright © (2025) ExamLex LLC.

Privacy PolicyTerms Of ServiceHonor CodeCommunity Guidelines