Shared Flashcard Set

Details

method signatures and calls
N/A
4
Computer Science
10th Grade
12/09/2009

Additional Computer Science Flashcards

 


 

Cards

Term

Write a method signature for a method named volume that takes three integers representing the length, width and height of a cube and returns the volume of the cube.

 

Write a method call for the falling signature.

Definition

public static int volume(int L, int W, int H)

 

int volumeCube = volume(width, height, length):

Term

Write a method signature called bob which has no parameters.

 

Write a method call for  the following method signature.

Definition

public static void bob()

 

bob();

Supporting users have an ad free experience!