1answer.
Меню
Ask question
Login
Signup
Ask question
Menu
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
umka2103
[35]
2 years ago
12
Write a method that determines the total number of chars in each string of an array.
Computers and Technology
Answer
Comment
Send
1
answer:
Serjik
[45]
2 years ago
8
0
The total number of chars in each string is basically the size of each string.
Using JAVA:
String[] arr = {"hello", "my", "name", "is", "Felicia"}; int count = 0; for(int i = 0; i < arr.length; i++) { count = count + arr[i].length(); System.out.println("Characters in " + arr[i] + ": " + count); }
Output:
<span>Characters in hello: 5
Characters in my: 7
Characters in name: 11
Characters in is: 13
Characters in Felicia: 20</span>
Send
You might be interested in
3 uses of a computer
GenaCL600 [577]
Answer:
online bills payment
watching movies or shows
home tutoring
3
0
1 year ago
Read 2 more answers
Ideally, how often should you back up the data on your computer? once an hour once a day once a month once a year
AleksAgata [21]
It really depends on your type of data, if it's sensitive data or not. And it also depends on what type of backup (Incremental, Decremental, etc.). But you should aim to backup at least once a week, and also do a backup of your original backup.
6
0
2 years ago
Read 2 more answers
Lynn has created a quarterly sales report using a word processor. The document is confidential, and Lynn wants to secure it with
sweet-ann [11.9K]
Stop cheating
It’s b
3
0
2 years ago
Your hometown probably has little to offer in terms of photography because you've already seen it. True False
Nikitich [7]
False it the answer bro
4
0
2 years ago
Jhon bought a new printer for his desktop computer. It does not work even though he checked all the cables and cords. What do yo
ExtremeBDS [4]
Im not for sure but it might be B or C
4
0
2 years ago
Read 2 more answers
Other questions:
The _____ establishes that the destination device is present on the network, verifies active service, and informs the destinatio
13
·
1 answer
What output is generated by this for loop?
6
·
1 answer
Npesta kenos reaction
13
·
2 answers
Which of the following is true about binary search. A. It uses binary numbers in its algorithm B. It is slower than sequential s
13
·
1 answer
Select the correct answer.
10
·
1 answer
Please help I need help with web technology I forgot to post the question in the last one. here it is tho.
9
·
1 answer
Type the correct answer in each box. Spell all words correctly, and use numerals instead of words for numbers. If necessary, use
6
·
1 answer
What are common considerations businesses need to make before purchasing new computers? Check all of the boxes that apply.
6
·
1 answer
2.
9
·
1 answer
I will give brainyest
15
·
2 answers
×
Add answer
Send
×
Login
E-mail
Password
Remember me
Login
Not registered?
Fast signup
×
Signup
Your nickname
E-mail
Password
Signup
close
Login
Signup
Ask question!