Term
find random int on a range |
|
Definition
return (int)(Math.random()*(hi-lo+1))+lo; |
|
|
Term
|
Definition
|
|
Term
|
Definition
starts with array[0] not array[1] |
|
|
Term
|
Definition
|
|
Term
|
Definition
data from position to next whitespace |
|
|
Term
|
Definition
method can be called from all other classes |
|
|
Term
|
Definition
method can be called without creating an instance of the class |
|
|
Term
|
Definition
doesn't return anything (achieves side effect) |
|
|
Term
|
Definition
names from method declaration |
|
|
Term
|
Definition
values from calling method |
|
|
Term
|
Definition
copy is made of actual parameter (happens with individual values, not arrays) |
|
|
Term
|
Definition
the lexical/textual region of a program where a variable can be referenced |
|
|
Term
|
Definition
scope can be determined just by looking at the program |
|
|
Term
|
Definition
variable is declared inside of method |
|
|
Term
|
Definition
variable is declared in the loop header |
|
|
Term
|
Definition
method name + parameter profile |
|
|
Term
|
Definition
multiple definitions with the same name but different parameter profiles |
|
|
Term
|
Definition
not possible to determine specific method, equally specific methods match the call |
|
|
Term
|
Definition
widen variable type, like from int (or w/e) to double |
|
|
Term
|
Definition
the number of arguments that a method accepts |
|
|
Term
|
Definition
separating method interface and implementation |
|
|
Term
|
Definition
what goes in/out, what caller uses |
|
|
Term
|
Definition
how it works, what developers of method write |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
multidimensional array with varying array lengths inside outer array |
|
|
Term
|
Definition
rounds to nearest int, if halfway goes to even (returns integer) |
|
|
Term
|
Definition
import java.util.Scanner;
public static blahblakdfb throws Exception java.io.File file=new java.io.File("scores.txt"); Scanner input = new Scanner(file); blahldfahbl; input.close(); |
|
|
Term
|
Definition
+=addition of ints, doubles, concatenation of strings |
|
|
Term
declare (rectangular) array |
|
Definition
int [][] a = new int [3][5]; |
|
|