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 of the following restricts the ability for individuals to reveal information present in some part of the database?
Anni [7]

Answer:

it would have to be flow control which would be C.

Explanation:

8 0
2 years ago
Give reasons why you care for your sense organs​
Cerrena [4.2K]

HI!the resaon why should you care for you sense organs is that they help us to contact with our surroundings.

8 0
1 year ago
Read 2 more answers
Which package is the Graphics class part of? _________________ .
Ksenya-84 [330]

Answer: C) java.awt

Explanation:

Java.awt is commonly used in AWT (abstract window toolkit) which basically contain core graphics in AWT class. The java.awt is the important package in the AWT. It basically contain the main capabilities of the graphics and define the GUI ( graphical user interface) frame in the java platform.

It also support the event handling and also the event class like window and key event in the java.awt.

Therefore, option (C) is correct.

8 0
3 years ago
A loop should output 1 to n. If n is 5, the output is 12345. What should XXX and YYY be? Choices are in the form XXX / YYY. cin
Alona [7]

Answer:

i = 0; i < n / i + 1

Explanation:

Given that:

a loop output 1 → n

if n = 5

output = 12345

n = scnr.nextInt();

for (XXX;  i++)

{

System.out.printIn(YYY);

}

XXX / YYY is i = 0; i < n / i + 1

5 0
2 years ago
Read 2 more answers
Please help I I decided to screen shot something in my laptop but now my screen isn’t working or moving can you give me a way to
ehidna [41]

Answer:

Just restart it. It would definitely work.

6 0
3 years ago
Read 2 more answers
Other questions:
  • The _____ icon allows the user to improve the brightness, contrast, or sharpness of the picture.
    10·1 answer
  • What is being measured using kbps, mbps, and gbps?
    7·1 answer
  • A characteristic of a 3D model that a 2D model does not have is:
    8·1 answer
  • Francis has applied for admission to a computer science program, and one of the requirements for admission is the completion of
    8·2 answers
  • Two threads try to acquire the same resource at the same time and both are blocked. Then, they continually change their states i
    14·1 answer
  • in a stop-and-wait arq system, the bandwidth of the line is 1 mbps, and 1 bit takes 10 ms to make a round trip. if the system da
    12·1 answer
  • Which of the following class definition defines a legal abstract class Group of answer choices public class Rectangle abstract {
    15·1 answer
  • One last question
    7·2 answers
  • ⚠VERY IMPORTANT MESSAGE⚠
    7·2 answers
  • 300134223+304532264440=
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!