Skip to content

Java Reference: all words

64 words in 12 lists. Listen, read the examples, then train a list.

Train all words

1

13 words Train this list PDF
  1. class /klæs/ A Java definition describing an object type's fields and methods, distinct from an instance created from that class. A class is a plan for making objects.
  2. method /ˈmeθəd/ A defined way of performing a task or investigation; in programming, a function associated with a class or object. toUpperCase() is a String method: "hi".toUpperCase() gives "HI".
  3. compile /kəmˈpaɪl/ Translate source code into another representation, such as compiling Java source to bytecode. You must compile Java code before you can run it.
  4. compiler /kəmˈpaɪlə/ Software that translates a program from a source language into another form, commonly machine or intermediate code. The compiler turns the whole program into machine code.
  5. statement /ˈsteɪtmənt/ A unit of program instruction, such as an assignment, method call, selection or loop; not every kind ends with a semicolon. Each line ending in a semicolon, such as x = 5;, is a statement.
  6. variable /ˈveərɪəbl/ A quantity or named value that can change or take different values. A variable stores a value that can change.
  7. declare /dɪˈkleə/ Introduce a variable, method or other named program element with its required type or declaration details. Declare a variable before you use it: int age;
  8. primitive type /ˈprɪmɪtɪv taɪp/ The language's basic non-reference types; in Java, these are the Boolean and numeric types. int is a primitive type.
  9. comment /ˈkɒment/ Explanatory text in source code or markup that does not execute as a program instruction. A comment starts with // and the computer ignores it.
  10. camelCase /ˈkæml keɪs/ A naming style that joins words without spaces, beginning later words with capitals, such as totalScore. studentCount is written in camelCase.
  11. constant /ˈkɒnstənt/ A named or literal value that does not change during the relevant part of a program.
  12. concatenate /kənˈkætəneɪt/
  13. scanner /ˈskænə/

2

6 words Train this list PDF
  1. arithmetic /əˈrɪθmətɪk/ Calculations involving numbers and operations such as addition, subtraction, multiplication and division. Adding and multiplying are arithmetic.
  2. integer division /ˈɪntɪdʒə dɪˈvɪʒn/ For Java integer operands, division discarding the fractional part by rounding towards zero. With integer division, 7 / 2 gives 3.
  3. object /ˈɒbdʒekt/ An entity in a program with associated state and behaviour, often an instance of a class. Each car in the game is an object.
  4. wrapper class /ˈræpə klæs/ In Java, a class whose objects represent values of a corresponding primitive type, such as Integer for int. Integer is the wrapper class for int.
  5. random /ˈrændəm/ Describing outcomes governed by chance rather than being individually predictable with certainty. Decay is random: we cannot say which nucleus decays next.
  6. cast /kæst/ An explicit conversion to a specified type, potentially losing numeric information or causing a run-time reference-cast failure. (int) 3.9 is a cast that gives 3.

3

6 words Train this list PDF
  1. condition /kənˈdɪʃn/ A requirement or circumstance that affects what happens or whether something is true. The condition x > 10 decides whether the if block runs.
  2. comparison /kəmˈpærɪsn/ Examining two or more items to identify similarities, differences or their relative order. The comparison 5 > 3 gives True.
  3. logical operator /ˈlɒdʒɪkl ˈɒpəreɪtə/ An operator combining or negating Boolean values, such as &&, || or ! in Java. && is a logical operator meaning AND.
  4. short-circuit evaluation /ʃɔːt ˈsɜːkɪt ɪˌvæljuːˈeɪʃn/ Evaluating a logical expression without evaluating a later operand when an earlier operand already determines the result.
  5. De Morgan's laws /də ˈmɔːɡənz lɔːz/ Rules stating that negating an AND gives the OR of the negated operands, and negating an OR gives the AND of the negated operands.
  6. ternary operator /ˈtɜːnəri ˈɒpəreɪtə/

4

2 words Train this list PDF
  1. accumulator /əˈkjuːmjʊleɪtə/ A register used to hold intermediate arithmetic or logical results during processing. The answer to the sum goes into the accumulator.
  2. nested loop /ˈnestɪd luːp/ A loop located inside another loop, so its iterations occur as part of each relevant outer iteration. A nested loop is a loop inside another loop.

5

3 words Train this list PDF
  1. String /strɪŋ/ A sequence of characters treated as a single data value. A String holds text, such as "Hello".
  2. immutable /ɪˈmjuːtəbl/ Unable to have its value or state changed after creation. Java strings are immutable: you cannot change one letter in place.
  3. concatenation /kənˌkætəˈneɪʃn/ Joining sequences, such as strings, end to end. Concatenation joins "Hello" and "World".

6

5 words Train this list PDF
  1. array /əˈreɪ/ An indexed collection of elements arranged in one or more dimensions. An array stores many values under one name.
  2. search /sɜːtʃ/ Look through data to find an item or establish whether it is present. Linear search checks each item one by one.
  3. 2-D array /tuː diː əˈreɪ/ An array structure whose elements are accessed using two indices; Java represents it using arrays whose elements refer to arrays. A 2-D array stores data in rows and columns.
  4. grid /ɡrɪd/ A collection arranged or treated as rows and columns, often represented by a two-dimensional array. A noughts-and-crosses board is a 3 × 3 grid.
  5. default value /dɪˈfɒlt ˈvæljuː/

7

4 words Train this list PDF
  1. resizable /rɪˈsaɪzəbl/ Able to change how many elements it contains, as an ArrayList can; this does not mean a Java array's length changes. An ArrayList is resizable: it can grow and shrink.
  2. wrapper /ˈræpə/ A Java class representing a primitive value as an object, such as Integer for int. Integer is a wrapper for the int type.
  3. generic /dʒəˈnerɪk/ A type parameter or parameterised type that allows code to work with specified types while retaining compile-time type checking. ArrayList<String> is a generic type.
  4. shift /ʃɪft/ Moving a binary value's bits left or right by a specified number of positions. To insert an item, shift the others one place to the right.

8

6 words Train this list PDF
  1. field /fiːld/ A named item of data within a database record. The field "Name" stores each student's name.
  2. constructor /kənˈstrʌktə/ A special operation used to initialise a newly created object. The constructor runs when you make a new object with new.
  3. encapsulation /ɪnˌkæpsjʊˈleɪʃn/ Grouping data with the operations that use it and controlling access through an interface. Encapsulation keeps an object's data private.
  4. accessor /əkˈsesə/ A method that provides access to an object's information, usually without changing the object's state. getName() is an accessor: it returns a value.
  5. mutator /mjuːˈteɪtə/ A method that changes an object's state. setName() is a mutator: it changes a value.
  6. reference /ˈrefrəns/

9

5 words Train this list PDF
  1. inheritance /ɪnˈherɪtəns/ The mechanism by which a class acquires attributes or behaviour from another class. With inheritance, a Bus class gets the methods of the Vehicle class.
  2. subclass /ˈsʌbklæs/ A class that inherits attributes or behaviour from another class and may extend or override them. Bus is a subclass of Vehicle.
  3. superclass /ˈsuːpəklæs/ A class from which another class inherits attributes or behaviour. Vehicle is the superclass of Bus.
  4. override /ˌəʊvəˈraɪd/ Provide a subclass implementation of an inherited instance method with a matching signature under Java's rules. A child class can override a method to change what it does.
  5. polymorphism /ˈpɒlɪmɔːfɪzəm/ Using a common type or interface while the appropriate overridden instance behaviour is selected for the actual object. Polymorphism lets one method name work in different classes.

10

5 words Train this list PDF
  1. recursion /rɪˈkɜːʃn/ A method that calls itself. Recursion means a function calls itself.
  2. base case /beɪs keɪs/ A case that can be solved directly and stops further recursive calls. The base case stops the recursion.
  3. recursive call /rɪˈkɜːsɪv kɔːl/ A call a routine makes to itself, directly or indirectly, as part of solving a problem recursively. Each recursive call works on a smaller problem.
  4. merge sort /mɜːdʒ sɔːt/ The recursive sort on the AP exam: split the array in half, sort each half recursively, then merge the two sorted halves. Merge sort splits the list in half, sorts each half and joins them.
  5. merge /mɜːdʒ/ Combining items from separate collections into one collection, often preserving a required ordering. Merge two sorted lists into one sorted list.

11

5 words Train this list PDF
  1. linear search /ˈlɪnɪə sɜːtʃ/ Checking items in sequence until the required item is found or the list ends. A linear search checks each item one by one.
  2. binary search /ˈbaɪnəri sɜːtʃ/ A search of ordered data that repeatedly compares with the middle item and discards half of the remaining search range. Binary search halves the list each time.
  3. sorted /ˈsɔːtɪd/ Arranged according to a specified ordering, such as increasing numerical value. Binary search only works on a sorted list.
  4. selection sort /sɪˈlekʃn sɔːt/ A sorting algorithm that repeatedly selects the smallest remaining item and places it next in the sorted portion. Selection sort finds the smallest item and puts it first.
  5. insertion sort /ɪnˈsɜːʃn sɔːt/ A sorting method that inserts each new item into its correct position in the already sorted part of a list. Insertion sort puts each new item in the right place.

12

4 words Train this list PDF
  1. parse /pɑːs/ Interpret input according to a format or grammar, such as converting a numeric string into a number. Integer.parseInt() will parse "42" into the number 42.
  2. split /splɪt/ Divide a string into parts according to a separator or pattern; Java String.split uses a regular-expression pattern. Split the line at each comma.
  3. free-response /friː rɪˈspɒns/ An assessment format requiring the student to construct an answer or program rather than select a supplied option. In a free-response question, you write the code yourself.
  4. token /ˈtəʊkən/

Log in or create account

IGCSE, A-Level & AP