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
svlad2 [7]
3 years ago
15

The length property of the String object returns

Computers and Technology
1 answer:
Katyanochek1 [597]3 years ago
4 0

Answer:

the number of characters in the string.

Explanation:

length property of a String object returns the total count of the characters in the string or provides the length of the string simply.

For example:-

import java.util.*;

import java.lang.*;

import java.io.*;

class length

{

public static void main (String[] args)

{

    String s="IamNumber4";

    int l=s.length();//using length method on string object..

    System.out.println(l);

}

}

Output:-

10

The code written above is in java.The length() method returned the count of characters of the string s that is a actually 10.

You might be interested in
Which best describes the benefits of renting a home?
WARRIOR [948]
The benefits are that you don't have to worry if something breaks from like a water leake or a storm and get destroyed the home owners have to pay
7 0
4 years ago
Read 2 more answers
CSc 2720 - Data Structures: Assignment 1 [100 points] How to Submit: Turn the .java file in Folder Assignment 1 in iCollege no l
gavmur [86]
Hehehwkwjhdhebfhshshwjbrbr
5 0
3 years ago
What is the extension of a BASIC256 program file?​
algol13

Answer:

The extension of a BASIC-256 program file is kbs

4 0
3 years ago
• Bài 5: Cho cạnh a, b và c như hình sau. Tính diện tích hình được tô màu. Biết b là đường kính của nữa hình tròn. Xác định bài
umka21 [38]

Answer:

huh?

Explanation:

what I don't understand

5 0
3 years ago
Henry Ford would have been most interested to bring which modern innovation to his automotive factories?
kondor19780726 [428]
Henry Ford would have been most interested to bring assembly lines which is an modern innovation to his autmotive factories. Although Henry Ford didn't invent cars he developed assembly lines
3 0
3 years ago
Read 2 more answers
Other questions:
  • In a survey of 7200 T.V. viewers, 40% said they watch network news programs. Find the margin of error for this survey if we want
    6·1 answer
  • Identifying the problem is crucial when trying to solve a problem. There are several techniques that you can use to aide you in
    5·1 answer
  • When converting old html code to xhtml, make sure to replace the ____ attribute with the background-color style?
    10·1 answer
  • Write the definition of a class Telephone. The class has no constructors, one instance variable of type String called number, an
    9·1 answer
  • A user on a corporate laptop discovers that their bank account and social media accounts have all been hacked. The user has high
    12·1 answer
  • Need some personal advice here.
    12·2 answers
  • Suppose that the following elements are added in the specified order to an empty binary search tree: Lisa, Bart, Marge, Homer, M
    5·1 answer
  • It is necessary tto save updates often when working in google docs? True or false
    11·2 answers
  • 1 paint 2 anahaw leaf 3 shellac 4 varnish 5 metal sheets 6 paint 7 G.I. pipe 8 enamel paint 9 bamboo 10 fillers
    14·1 answer
  • Online banking is a convenience that mostly affects which area of your life?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!