vujdzgjkoomk4825 vujdzgjkoomk4825
  • 19-07-2019
  • Computers and Technology
contestada

Method that would be free functions in _________(not members ofany class) should be static method in _________.
Java , C#
C++ , C#
Java , C++
C++ , Java

Respuesta :

Branta Branta
  • 29-07-2019

Answer:

C++,Java

Explanation:

Free functions or non-member functions in C++ do not require a class to be instantiated prior to their invocation.

Java provides a similar concept in terms of static methods. Static methods can be invoked without instantiating the object by prefixing the class name before the method name. For example:

Math.max()

Integer.parseInt()

String.valueOf()

Class.forName()

Answer Link

Otras preguntas

what is a rational number between 1/8 and 1/4?
write the following ratio in simplest form : 32 min : 36 min A. 8 : 9 B. 8 : 36 C. 32 : 9 D. 128 : 144
write the following ratio in simplest form : 32 min : 36 min A. 8 : 9 B. 8 : 36 C. 32 : 9 D. 128 : 144
What's the answer to 1\2x+3=9
the pair of polygons is similar. find the value of x. answer on picture
Why did Spain build mission in the borderlands of New Spain?
4a + 3 - 9 = -7 + 2 + a
what is a rational number between 1/8 and 1/4?
Why  might  things far away  and  long  ago  be   important   to  us now.
write the following ratio in simplest form : 32 min : 36 min A. 8 : 9 B. 8 : 36 C. 32 : 9 D. 128 : 144