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 15/16 minus 3/16
Rico eats 1/9 of the lasagna, and his friend eats 1/18 of the lasagna. How much of the lasagna is left?
relative to some reference points,your nose is in motion when you run. relative to others, it is not in motion. give one example of each
What entertainment kept masses satisfied
Internet vs. the printing press..
How much does cell phone weigh
Scientists think that the __________, made of liquid iron and nickel, moves to produce Earth’s magnetic field. a. crust b. mantle c. outer core d. inner core
What mountain are along the west coast of India
6^2+17+12 help me plz.
Use the numbers 1 through 8 to fill in the blanks and make the equation true. Blank.blank blank - blank. Blank blank = -1. Blank blank