1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
siniylev [52]
3 years ago
5

To alter just one character in a StringBuilder, you can use the ____ method, which allows you to change a character at a specifi

ed position within a StringBuilder object.
a.
insert()

b.
setCharAt()

c.
append()

d.
charAt()
Computers and Technology
2 answers:
guajiro [1.7K]3 years ago
4 0

Answer:

setCharAt()

Explanation:

StringBuilder is a dynamic object that allow to create the string with no size restriction.

To answer the question, let discuss each option.

Option a: insert()

insert function is used to insert the element at the specific location but it does not change the rest of the character.

Option b: setCharAt()

it is used to change the value at specific location, it takes two argument location and character.

Option c: append()

it is used to connect the two string but it does not change the rest of the character.

Option c: charAt()

it is used to get the character at specific location. it does not allow the change.

Therefore, option b is correct option.

OleMash [197]3 years ago
3 0

Answer:

setCharAt()

Explanation:

To alter just one character in a StringBuilder, you can use the setCharAt() method, which allows you to change a character at a specified position within a StringBuilder object.

You might be interested in
Write an algorithm to sum to values
Elis [28]

Answer:

There is no need to make an algorithm for this simple problem. Just add the two numbers by storing in two different variables as follows:

Let a,b be two numbers.

c=a+b;

print(c);

But, if you want to find the sum of more numbers, you can use any loop like for, while or do-while as follows:

Let a be the variable where the input numbers are stored.

while(f==1)

{

printf(“Enter number”);

scanf(“Take number into the variable a”);

sum=sum+a;

printf(“Do you want to enter more numbers? 1 for yes, 0 for no”);

scanf(“Take the input into the variable f”);

}

print(Sum)

Explanation:

hi there answer is given mar me as brainliest

5 0
3 years ago
I have a DBA for keyboarding coming up and I am nervous. Any tips or pointers?
Gennadij [26K]
Don't be nervous... haha
3 0
3 years ago
Read 2 more answers
A notebook computer is set up to take maximum advantage of power saving features including shutting down the display and the har
astra-53 [7]

Answer:

The reason is that the windowing system consumes significantly more memory and virtual memory than the text mode.

Explanation:

The reason behind the occurrence of this is that the windowing system consumes significantly more memory and virtual memory than the text mode. As a result, this reduces the likelihood of the hard disk becoming inactive for long enough for it to be powered down by itself with no direct human control, i.e. automatically.

6 0
3 years ago
The part of the computer that provides access to the internet is the
mariarad [96]

Answer:

The Answer B Modem

Explanation:

That is the only way that you want connect to the internet no other part can connect.

Unless you use a ethernet.

Please rate and heart.

thank you for posting this question i am glad i could answer it.

Please make this a brianliest answer thank you.

7 0
3 years ago
Entering the formula =SUM(C5:C18), in cell C19 will result in which of the following?
Greeley [361]
I am not sure what the 'following's are
but it should result the sum of all cells between and including C5 and C18.

5 0
3 years ago
Other questions:
  • Commands are organized into tabs on the A. Ribbon. B. Quick Access toolbar. C. Status bar. D. ruler.
    13·2 answers
  • Describe business benefits of using wireless electricity?
    6·1 answer
  • Who does Electronic waste (E-Waste) effect
    14·1 answer
  • HELP PLEASE! Match each feature of e-publishing as an advantage, a disadvantage, a threat, or an opportunity.
    12·1 answer
  • What is the purpose of an exhaust emission system
    6·1 answer
  • For Official Use Only (FOUO) and Controlled Unclassified Information (CUI) may include all of the following except: (circle one)
    13·1 answer
  • Luchen Modo, a software development firm in Asia, launched a new software for smartphones that allowed users to remotely control
    11·1 answer
  • What are software applications?
    14·1 answer
  • When did Microsoft released MS-Word 2016? S When did Microsoft released MS - Word 2016​
    7·1 answer
  • Choose the answer that best completes the visual analogy.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!