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
algol13
4 years ago
9

Write the code for invoking a method named sendObject. There is one argument for this method which is of type Customer.Assume th

at there is a reference to an object of type Customer, in a variable called John_Doe. Use this reference as your argument.Assume that sendObject is defined in the same class that calls it.
Computers and Technology
1 answer:
Dafna1 [17]4 years ago
6 0

Answer:

sendObject(John_Doe)

Explanation:

To invoke a method, simply call the name of the method, followed by it's arguments in parenthesis. i.e methodname(argument).

In this case, the name of the method is sendObject and it's argument is a Customer object stored in or referenced by a variable John_Doe.

The above is true since the method is defined in the same class that calls it. Otherwise, it is not valid.

You might be interested in
Identify some advantages of using Excel over lists, paper files, or simple word documents?
ra1l [238]

Answer:

Explanation:

Difficult to manage advanced pricing rules. ...

Lack of control and security. ...

Excel is vulnerable to fraud/corruption. ...

Excel is susceptible to human error. ...

Excel is difficult to troubleshoot or test. ...

Excel is obstructive to regulatory compliance.

Whether it is family-based planning for a weekly, monthly or yearly calendar or a personal appointment daily planner or a schedule for managing bill payments, homework, favorite sports team's games, and many more, excel can make it easy to compile, filter, search, organize and simplify large amounts of data.

6 0
3 years ago
You need to apply security settings to the registry on a Windows server. Which command should you use
Mekhanik [1.2K]

There are different kinds of measures taken in security. The command should you use is   Certutil.

<h3>What is Certutil</h3>

Lawrence Abrams was known to be the man that mad Windows to have a built-in program called CertUtil.

This is often used to manage certificates in Windows where one can install, backup, delete, manage, and perform a lot of functions related to certificates and certificate that are saved in Windows.

See full question below

You need to apply security settings to the registry on a Windows server. Which command should you use?

certutil

regedit

regex

cipher

Learn more about Certutil from

brainly.com/question/24931496

7 0
2 years ago
Suppose we have a dictionary called grades as shown below:
mihalych1998 [28]

Answer:

import statistics as st # importing statistics package to calculate mean as st.

grades = {"John": [87,90,86.8], "Mary": [78, 81.5, 88.6],"Susan":[45,67,76]}

for key,value in grades.items():#iterating over the dictionary

   average_score=st.mean(value)#calculating the mean of every student

   gr="" empty string to store the grades

   if average_score>=90: # nested if else if and statements for the grades in gr

       gr="A"

   elif average_score>=80.0 and average_score<90.0:

       gr="B"

   elif average_score>=70.0 and average_score<80.0:

       gr="C"

   elif average_score>=60.0 and average_score<70.0:

       gr="D"

   else :

       gr="F"

       

   print(str(key)+" "+str(average_score)+" "+str(gr)) #printing grades of every student.

Output:-Mary 82.7 B

John 87.93333333333334 B

Susan 62.666666666666664 D

Explanation:

1.In this program we are iterating over the dictionary grades.

2.Storing and calculating the mean of the scores of every student us statistics package.

3.Storing the grade in string gr and updating the gr according to the mean score

4.After that printing the grade of the student with their name and mean score.

6 0
3 years ago
Which option can be used to automatically scan a document to prepare it for publishing, identifying personal information that sh
lubasha [3.4K]

Answer:

Document Inspector  option can be used to automatically scan a document to prepare it for publishing, identifying personal information that should be removed

Explanation:

Document scanner: This converts the text written in the paper in to a digital form. Most probably it will convert the text in paper in to image only.

Document Inspector is the tool which removes the personal information while sharing the document. The personal information can be name, mail id, phone number etc. This personal information though hidden will get reflected while publishing and this document inspector allow us to protect these data from sharing.

Privacy manager: This is a software reducing the risk of unauthorized access of data

Security manager: This once again protect the document.

4 0
4 years ago
If you want to code an if clause, but you don't want to perform any action, you can code Select one:
tatyana61 [14]

Answer:

Option A i.e.,  a pass statement are the correct option.

Explanation:

The following option are correct because a pass statement is used when you want to create any function or any loop or statement but you don't want to write code inside the function or any loop or statement then, you use the "pass" keyword inside that function or any loop or statement as null or nothing happen when the following code is execute.

4 0
4 years ago
Other questions:
  • People must use Telepresence when Virtually meeting with a group of coworkers true or false
    6·1 answer
  • The binary number 0100001 represents the number 65
    5·1 answer
  • Which feature enables you to make changes to all the slides of your presentation at the same time?
    15·2 answers
  • Although architects frequently do most of their work in an office, what might motivate an architect to work from the jobsite?
    7·1 answer
  • Should the federal government have bug bounty programs? Why or why not?
    9·2 answers
  • 2. What are the 3 Alternative software programs that can be used if you don’t have the Microsoft Office programs?
    8·2 answers
  • A company wants to transmit data over the telephone, but they are concerned that their phones may be tapped. All of their data i
    13·1 answer
  • Consider the following code:
    6·1 answer
  • What is the main purpose of adding captions to an image or table in Word?
    10·1 answer
  • give the tightest asymptotic bounds you can for the following recurrences and provide a short explanation for your solution. you
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!