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
ki77a [65]
3 years ago
5

When you declare a string data type, you are actually creating an object from the?

Computers and Technology
1 answer:
aleksandrvk [35]3 years ago
5 0
<span>from the string class</span>
You might be interested in
Assume the list numbers1 has 100 elements, and numbers2 is an empty list. Write code that copies the values in numbers1 to numbe
ollegr [7]

Answer:

numbers1 = [5]*100

numbers2 = numbers1[:]

print(numbers2)

Explanation:

We have used the Python programming language to solve this problem. First we created a list to have 100 elements line 1, numbers1 = [5]*100, This statement creates a list that has 100 elements (the integer 5). In line two, we assign the elements in the the first list to the second list numbers2, notice the full colon in the statement numbers2 = numbers1[:], This allows the elements of the first list to be copied into the second list and on line 3, we printout the the second list.

8 0
4 years ago
19. Squares. Write a program class named SquareDisplay that asks the user for a positive integer no greater than 15. The program
BaLLatris [955]

Answer:

Explanation:

import java.util.Scanner;

public class SquareDisplay {

   public static void main(String []args){

    // Scanner is used to get value from command line

       Scanner console = new Scanner(System.in);

       System.out.print("Enter an integer in the range of 1-15:");

       int number = console.nextInt();

   // check if number is greater then 15 or less then 1 then return error message

       if(number>0 && number<=15){

           System.out.println("Error :Wrong Input");

           return;

       }

       for( int i=0; i< number; i++){

           for( int j =0; j<number; j++){

               System.out.print("X");

           }

           System.out.print(" ");

       }

   }

}

Code Explanation

As we want to show the square of X's we need to execute 2 nested for loop to achieve the target result. Outer for loop will determine that how many times we need to show the group of X's.

And the inner for loop will actually display's number of X's for every outer loop iteration.

Output

Case 1:

Enter an integer in the range of 1-15:5

XXXXX XXXXX XXXXX XXXXX XXXXX

Case 2:

Enter an integer in the range of 1-15:16

Error :Wrong Input

Case 3:

Enter an integer in the range of 1-15:2

XX XX

4 0
3 years ago
What is ‘Software Quality Assurance’?
Aleonysh [2.5K]

Answer: Software quality assurance is considered as the means under which one monitors the software processes and techniques used in order to ensure quality. The techniques using which this is attained are varied, and thus may also include ensuring accordance to more than one standards. It is referred to as a set of techniques that ensures the quality of projects in software process. These mostly include standards that administrators use in order to review and also audit software activities, i,e, these software meet standards.

5 0
3 years ago
A folder can contain only files? A. True B.False
choli [55]
That statement is true.
In recent technologies, folder can contain whatever users want it to contain.  Not only, that, users could also arrange the maximum size of files that a folder could contain or the visibility status of each items that will be placed on the shoulder in case they need some sort of privacy for his/her files

8 0
3 years ago
Read 2 more answers
Which of these about non-disclosure agreements is accurate?
grandymaker [24]

Answer: number 2

Explanation: number 2

6 0
3 years ago
Read 2 more answers
Other questions:
  • How do I give extra points on Brainly
    6·2 answers
  • With the help of what memory a computer can read as well as write or modify data
    14·2 answers
  • Implement function translate() that provides a rudimentary translation service. The function input is a dictionary mapping words
    9·1 answer
  • Describe IT infrastructure. What is the role of business intelligence in determining the technology needs of a business?
    11·1 answer
  • What is cutting-edge technology
    6·1 answer
  • To do a good job of searching periodicals at your library, you should use A) the Library of Congress Authorities webpage. B) web
    10·1 answer
  • Write a program called DeliveryCharges for the package delivery service in Exercise 4. The program should again use an array tha
    9·1 answer
  • Explain what is meant by information technology (IT). Explain what is meant by information systems (IS). Why is it important to
    7·1 answer
  • What is an example of an attribute for a screen object
    14·1 answer
  • Which tools do meteorologists use to collect data about the weather?
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!