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
STALIN [3.7K]
3 years ago
11

Assume the availability of class named DateManager that provides a static method, printTodaysDate, that accepts no arguments and

returns no value. Write a statement that calls printTodaysDate.
Computers and Technology
1 answer:
Ira Lisetskai [31]3 years ago
8 0

Answer:

Hi!

The answer is:

<em> </em> DateManager dm = new DateManager(); <em>// Instanciate.</em>

 dm.printTodaysDate; <em>// Calls the method.</em>

Explanation:

If you are working on object-oriented programming, then:

  • First, you have to instanciate the class DataManger.
  • Then, you can call printTodaysDate on the instance dm of DataManager.
You might be interested in
In dynamic programming, the technique of storing the previously calculated values is called A. Saving value property B. Storing
Pani-rosa [81]

Answer:

C. Memoization

Explanation:

Given that Memoization is a computing strategy that is applied in storing the previously calculated values such that values can easily be recalled to execute similar problems or further problems. It is also used in making recurring algorithms productive

Hence, in this case, In dynamic programming, the technique of storing the previously calculated values is referred to as MEMOIZATION

4 0
3 years ago
The collection of all possible vulnerabilities that could provide unauthorized access to computer resources is called the:
Salsk061 [2.6K]
<span>The collection of all possible vulnerabilities that could provide unauthorized access to computer resources is called the: </span>attack surface
5 0
3 years ago
Robin maintains a web page for updating the metro timings in the city. He would like the website to display the present day's sc
Paladinen [302]
The answer : B 4 is the value of the month that will be displayed on the web page
8 0
3 years ago
When using the BinarySearch() method of an array or list type, what value is returned when the element is not found? How can we
Step2247 [10]

Answer:

When the element is not found we return -1.

Explanation:

When we use binary search we use BinarySearch() method of an array or list type when the element is found we return the index of the element if found if the element is not found we return -1.

We can decode this value since it is less than 0 and the indexing of arrays and lists starts with 0 upto the size-1.So -1 index is not present in the array or list.We have to check if the index is < 0 then the element is not present in the array or list.

for ex:-

if(index<0)

{

    System.out.println("Element is not present in the array");

}

5 0
3 years ago
"Na2SO3” represents sodium sulfite.
STatiana [176]
There are four atoms
5 0
3 years ago
Read 2 more answers
Other questions:
  • Text, numbers,graphics, sounds entered into a computer's memory during input operations are referred to as
    11·1 answer
  • A cloud file system (CFS) allows users or applications to directly manipulate files that reside on the cloud.
    6·1 answer
  • John would like to move from the city into the suburbs and has been saving up a large down payment for a home. Which is the most
    7·1 answer
  • Diane is receiving a lot of unwanted e-mail. What steps can she take to reduce the amount of e-mail she receives?
    12·1 answer
  • What does it mean if my ninja blender power light is blinking?
    13·2 answers
  • Which software application offers a variety of templates for creating reports, flyers, and newsletters that you can access withi
    12·1 answer
  • One way to initiate a file download from a web page is to
    8·1 answer
  • Write an application that allows a user to input the height and width of a rectangle. It should output the area and perimeter of
    10·1 answer
  • Write an algorithm for finding the perimeter of a rectangle
    6·1 answer
  • What is an aspect ratio?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!