Method Signatures
AP Computer Science A · Flashcards · Application
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 23
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
Identify the method signature: 'void compute(int a, double b)'.
QUESTION
In 'double getValue()', what is the return type?
QUESTION
In 'float calculate(double x)', what is the return type?
Tap to flip before you grade
ANSWER
float. The data type returned when method execution completes.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card