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
OverLord2011 [107]
3 years ago
10

Is the following statement a valid parameter declaration? please explain!! i need a lot of help! thank you!

Computers and Technology
1 answer:
Gelneren [198K]3 years ago
6 0

Answer:

NO

Explanation:

The parameter is declared in the function definition which takes the value from the calling function.

In the define function, we also declare the parameters with it type like int, char, float or double, etc.

Let's discuss the given function:

public void baseball (int batting average, hits,homeruns)

In the function, three variables are shown.

1. int batting average: Here, the variable type (int) is declared but the variable is not valid because the programming variable must NOT contain any space.

here, space exists between batting and average which is wrong.

2. hits: here, the variable type is not declared. this parameter is also not correct to declare.

3. homeruns: the variable type is not declared. this parameter is also not correct to declare.

Therefore, the statement has no valid parameter declaration.

You might be interested in
Computers with more than ____ of ram work with the aero interface in windows 7 as shown in the accompanying figure.
LekaFEV [45]
 <span>Computers with more than 1 GB of RAM work with the Aero interface in Windows 7 as shown in the accompanying figure.</span>
6 0
3 years ago
Which of the following applications can be used as a data source for a Microsoft® Word® mail merge? A.Outlook Contacts B.Microso
Xelga [282]
<span>Word can pull data from a variety of data sources to perform a mail merge. As part of the Microsoft Office suite, Word easily accepts data from Outlook, Excel, and Access, and other data sources such as web pages, OpenDocument text files, and delimited data files stored as plain text. And if you don't have an existing data source, you can create a new one in Word.
ALL OF THE ABOVE

</span>
8 0
3 years ago
Read 2 more answers
In 2013, the national retailer Target Corporation suffered a major data breach that put the financial information of an estimate
katen-ka-za [31]

Answer:

Security Policies

Explanation:

As computer systems continue to become complex, it makes it hard for co-operates and big businesses to understand the technology that comes with it. Organizations are concerned with how risks are being handled, managed, and reduced. They therefore, expect security policies to reflect how information should be handled. Better security policies shows a company's commitment to protect data and keep the business healthy.

4 0
3 years ago
_______________ is the practice of using a network of remote servers hosted on the Internet to store, manage, and process data,
sleet_krkn [62]
Answer:
The answer is "Cloud Computing"
Explanation:
Cloud computing refers to the process of storing and accessing data and programs through the internet rather than on your hard disk. I hope this helps! ^-^
8 0
2 years ago
Write a program in Java to display the given pattern.
Elina [12.6K]

Answer:

class Main {  

 public static void main(String args[]) {

   for(int i=0; i<6;i++) {

       for(int j=0;j<i+1;j++) {

           System.out.printf("%d ",2*i+1+2*j);

       }

       System.out.println();

   }

 }

}

Explanation:

You will need two nested loops for sure.

For the exact assignments of variables, many flavors of the solution exist, this is just one possible option.

3 0
3 years ago
Other questions:
  • List the actual network numbers for each of these subnets. (If the list is longer than 16, simply list the first 3 and final 3 "
    13·1 answer
  • What are the two houses in Congress?
    5·1 answer
  • Create a file with a 20 lines of text and name it "lines.txt". Write a program to read this a file "lines.txt" and write the tex
    12·1 answer
  • Whatisthebestlocationapp for my androidphonebesidesgoogle maps?
    9·1 answer
  • The following statement should determine if count is within the range of 0 through
    5·1 answer
  • "what type of index has an index key value that points to a data row, which contains the key value? "
    9·1 answer
  • What is the best data structure to solve the following problem? a) A list needs to be built dynamically. b) Data must be easy to
    11·1 answer
  • Write MVCTester.java. When the program starts, the initial screen displays a button labeled "add", a blank text area, and a text
    14·2 answers
  • How can you use the Address Book to address an email message? Use the drop-down menus to complete the sentences. 1. Type an emai
    6·2 answers
  • . 。 • ゚ 。 .
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!