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
mariarad [96]
3 years ago
8

. Which of the following is the correct syntax for a method header with parameters? a. public static void example(x, y) { b. pub

lic static (int x, int y) example() { c. public static void example(int x,y) { d. public static void example(x: int, y: int) { e. public static void example(int x, int y) (
Computers and Technology
1 answer:
mojhsa [17]3 years ago
4 0

Answer:

e.

public static void example(int x, in y)

Explanation:

The header comprises the access modifiers (public static), return type (void), method name (example), and parameters with the type of variable before the name of the parameters (int a, int b).

You might be interested in
Write a program in C++ to swap two variables usingfunctions?
lilavasa [31]

Answer:

#include <iostream>

using namespace std;

void swap(int& m, int& n)  /* passing by reference so that changes will be made in the original values.*/

{

   int t=m;

   m=n;

   n=t;

}

int main()

{

   int val1,val2;

   cout<<"Enter the values"<<endl;

   cin>>val1>>val2;

   cout<<"Values before swap "<<val1<<" "<<val2<<endl;

   swap(val1,val2); //calling the function swap..

   cout<<"Values after swap "<<val1<<" "<<val2<<endl;

return 0;

}

Explanation:

Created a function swap with 2 arguments m and n passed by reference.

8 0
4 years ago
Where do you want to install?
Fiesta28 [93]

This really depends on the thing you are trying to install, and the device you are trying to install it on.

try to find the app info and see what devices it is compatible with. make sure you are using a compatible device, and make sure you are signed in.

7 0
3 years ago
You are giving a presentation on designing multimedia presentations. You will have access to compatible A/V equipment, and you k
Pachacha [2.7K]

The term visual aid is self-explanatory. Visual aids help to enhance the involvement of the audience and increase their interest in the presentation.

<u>Explanation:</u>

Various types of visual aids can be used to increase the efficiency of a presentation. Before a presentation starts, handouts should be distributed that contains information about the key points covered in the presentation.

The presentation can be made more engaging by adding more relevant images and even videos.

A whiteboard should be used to convey information about the presentation. If the presentation is about some product, then some samples and props should also be used and giving a demo trial will always be a plus.

6 0
4 years ago
Need the answer ASAP!! No links I’ll report
White raven [17]

Answer:

C

Explanation:

3 0
3 years ago
Given four values representing counts of quarters, dimes, nickels and pennies, output the total amount as dollars and cents. Out
fenix001 [56]

Answer:

Replace /* Type your code here. */ with the following lines of code

int quarter =scnr.nextInt();

int dime = scnr.nextInt();

int nickel = scnr.nextInt();

int penny = scnr.nextInt();

double dollars = quarter * 0.25 + dime * 0.1 + nickel * 0.05 + penny * 0.01;

System.out.printf("Amount: $%.2f\n", dollars);

System.out.print((dollars * 100)+" cents");

Explanation:

The next four lines declare the given currencies as integer

<em>int quarter =scnr.nextInt();</em>

<em>int dime = scnr.nextInt();</em>

<em>int nickel = scnr.nextInt();</em>

<em>int penny = scnr.nextInt();</em>

This line calculates the amount in dollars

<em>double dollars = quarter * 0.25 + dime * 0.1 + nickel * 0.05 + penny * 0.01;</em>

The next two lines print the amount in dollars and cents respectively

<em>System.out.printf("Amount: $%.2f\n", dollars); </em>

<em>System.out.print((dollars * 100)+" cents");</em>

7 0
4 years ago
Other questions:
  • What finacial behaivor will typically lead to a low credit score
    8·1 answer
  • _____ are different, even within the same job. a. Occupations b. Workplaces c. Careers d. Interest rates
    13·2 answers
  • What will be the result of running the code below?
    5·1 answer
  • What will you personally do to make your peers aware of the seriousness Of teen crashes?
    9·1 answer
  • Write a class Example() such that it has a method that gives the difference between the size of strings when the '-' (subtractio
    6·1 answer
  • In what way are a coffee maker and a dishwasher the same?<br><br>BY THE WAY THIS IS TEENBIZ
    9·2 answers
  • Which of the following best describes information techonolgy (IT)?
    6·1 answer
  • Display the total number of parking tickets.
    5·1 answer
  • BRAINLIESTTTT How does a project manager evaluate the scope of a project?
    12·1 answer
  • I know nothing abt computers
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!