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
Svetach [21]
3 years ago
5

Which of the following methods is a static method? The class in which the method is defined is given in parentheses following th

e method name. A. equals (String) B. toUpperCase (String) C. sqrt (Math) D. format (DecimalFormat) E. paint (Applet)
Computers and Technology
1 answer:
maw [93]3 years ago
4 0

Answer:

C. sqrt(Math)

Explanation:

All but one of options A to E are is not a static method.

Only option C is a static method. The sqrt() is a static method of Math, that can always be used as Math.sqrt() is used;

The Math class defines all of its methods to be static. Invoking Math methods is done by using Math as a method rather than a variable of type Math; this means that sqrt(Math) doesn't rely on instance variables and don't need to be overridden, unlike others.

Lastly, sqrt(Math) is a static method because unlike other options, it is an utility method, and it is relevant to computations on primitive data types.

The purpose of the static method is in large part to offer a standard library of functions, and it doesn't need to be applied directly to an object.

You might be interested in
Explain how do compare and contrast graphic organizers help you to synthesize information?
Soloha48 [4]

Answer:

Answer: Given two or more sets of features of items, people, events, etc; compare and contrast graphic organizers help you to see what the sets have in common and what difference one set from the others, that is, what characteristics are unique from each set.

8 0
3 years ago
Read 2 more answers
A _____ standard describes the requirements for obtaining a domain name for use by external parties?
Lorico [155]

A <u>DNS control</u> standard describes the requirements for obtaining a domain name for use by external parties.

<h3>What is a domain name?</h3>

A domain name is a name that is easy and easy to remember. The name is used for online websites for companies or vlogs that contain an IP address on the internet. It is like the street address.

The DNS control system is a system that is used by every domain name user. It controls how visitors would see the website and how they will receive emails.

Thus, the standard requirement for obtaining a domain name is <u>the DNS control</u> standard.

To learn more about the domain name, refer to the below link:

brainly.com/question/3044569

#SPJ1

5 0
2 years ago
C++ program: Write a program that prompts the user to input three numbers. The program should then output the numbers in ascendi
Lelechka [254]

Answer:

// here is code in C++.

#include<iostream>

using namespace std;

int main()

{

// declare variables

  double num1, num2, mun3, t;

  cout << "Enter three numbers: ";

// read the three numbers

  cin >> num1 >> num2 >> mun3;

  //sort the three numbers

  if( num1>num2 )

  {

     t = num1;

     num1 = num2;

     num2 = t;}

  if( num2>mun3 ){

     t = num2;

     num2 = mun3;

     mun3 = t;}

  if( num1>num2 ){

     t = num1;

     num1 = num2;

     num2 = t;

  }

  // print the output

  cout<<"numbers in ascending order:";

  cout << num1 << " " << num2 << " " << mun3 << endl;

  return 0 ;

}

Explanation:

Declare three variables to store the input. Read the value of all three variables. If first number is greater than second, then with the help of variable "t" swap the  value of first and second.after that if second is greater than third number, swap them.In last if first number is greater than second one then swap them. This will sort the three numbers in ascending order.

Output:

Enter three numbers: 3 7 2                                                                                                

numbers in ascending order:2 3 7

3 0
3 years ago
Fyroff consultants, a leading software consulting firm in the United States, decides to launch an Enterprise Resource Planning (
klio [65]

Answer:

The correct answer is a. cybersquatting

Explanation:

Cybersquatting is the registration of a domain name that corresponds to the denomination of a brand or name, with the main objective of obtaining some economic benefit from its sale to the owner and legitimate owner of the brand. Cybersquatting can range from making money by parking domains (buying names that are then "parked", that is, left unused but generating advertising revenue based on the visits they receive) to redirecting users to another website In order for it to get more traffic, that is, with cybersquatting it is generally intended to sell the registered domain names to the legitimate owners or interested parties, at a price well above the cost of registration or also to use the domain taking advantage of the recognition associated with the legitimate owner to obtain commercial advantages, as clients in the network.

6 0
3 years ago
Write a function named find_median that takes as a parameter a list of numbers. The function should return the median of those n
Pachacha [2.7K]
Quién es de Chicken #chequen Castro reverente de meados
5 0
3 years ago
Other questions:
  • What percentage of the global population of about seven billion people used the Internet in 2012?
    5·2 answers
  • A navigation device that transfers packets of data between two or more networks is called a _______
    12·1 answer
  • HELP ASAP ILL DO ANYTHING
    6·1 answer
  • Describe how energy gets from a power plant to your home.
    9·2 answers
  • URGENT!!!! WILL GIVE BRAINLIEST Select the correct answer. Jason works as a graphic designer. He has been tasked with creating a
    6·2 answers
  • A company operates on two types of servers: 2 large servers (L) and 4 smaller servers (S), with a combined total of 64GB RAM. Th
    9·1 answer
  • Match the component to its function. resistor inductor capacitor battery transistor This component stores a temporary charge. ar
    7·2 answers
  • What department is cyber security
    6·2 answers
  • How many permutations for a 7 characters in length string, which contains all following letters R, X, S, Y, T, Z, U, has either
    7·1 answer
  • Kevin would like to ensure that his software runs on a platform that is able to expand and contract as needs change. Which one o
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!