Risrka Risrka
  • 23-10-2022
  • Computers and Technology
contestada

The following program generates an error. Why?


public static void printSum(int num1, int num2) {
System.out.print(num1 + num2);
}
public static void main(String args[]) {
int y;
y = printSum(4, 5);
return 0;
}

Respuesta :

Otras preguntas

what  effect did the crusades have on European civilization??
Where is the weather most likely clear and dry
If marching bands vary from 21 to 49 player, which numbers of players can be arranged in the greatest number of rectangles?
Do Giant Pandas travel in a group or alone?
The mark-up for a 75 dollar golf club is 80 dollars. Find the percent of the mark-up.
What is a value or values that make an equation true
a rectangular field has a perimeter of 500m and an area of 14400m2.  Find the lengths of the sides
The rabbit population on a small island is observed to be given by the function P(t) = 130t − 0.3t^4 + 1100 where t is the time since observations of the island
The rabbit population on a small island is observed to be given by the function P(t) = 130t − 0.3t^4 + 1100 where t is the time since observations of the island
House on mango street book. Write a description of a scene using language that engages the senses.set the mood in your introduction and carefully select word