placeholder image to represent content

Intro to Java Terminology

Quiz by Steve Howard

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
45 questions
Show answers
  • Q1
    Everything belongs to a ____________. No global variables or functions.
    class
    30s
  • Q2
    Each class must be in its own ________, eponymously named. So, class foo would be in the file foo.java.
    file
    30s
  • Q3
    Each class may have a _______.
    main
    30s
  • Q4
    To execute the ____________ in the foo class, give the command $ java foo
    main method
    30s
  • Q5
    If you use several classes foo1, foo2, foo3, ... create several files in the same directory foo1.java, foo2.java, foo3.java. Compile each
    compiler
    30s
  • Q6
    See image
    one. The _______ will automatically look for other classes in the same directory.
    30s
  • Q7
    if, if-else, switch, loops (for, while, do-while, do-until)
    Control Flow
    30s
  • Q8
    // ....
    Line Comment
    30s
  • Q9
    defining and nesting scopes
    use of {}
    30s
  • Q10
    Assign the same value to 2 locations
    a = b
    30s
  • Q11
    Check if 2 different variables hold identical
    a == b
    30s
  • Q12
    See image
    data
    30s
  • Q13
    _________ are immutable Keeps going and going and going
    Strings
    30s
  • Q14
    Allocated from the heap
    Arrays
    30s
  • Q15
    ___________ in Java work with arrays and other iterable
    for loops
    30s

Teachers give this quiz to your class