Python to Java
Java Classes
Inheritance
Data Structures
OOP Terminology
100

The Java Compiler (and also the command you call to compile Java code)

What is javac?

100

The keyword used to reference the current instance of a class from within itself

What is this?

100

A core feature that allows different classes to reuse code

What is inheritance?

100

This is what an unbalanced tree becomes in the worst case scenario

What is a list?

100

Functions that are part of a class

What are methods?

200

The code outputted from a compiler - higher level than machine code but lower level than the source code

What is bytecode?

200

When multiple versions of the same method that differ by parameter lists are made

What is overloading?

200

A method must be declared as this if it does not have a body

What is abstract?

200

The time complexity of searching through any BST or heap

What is O(log(N))?

200

Used to indicate that a method in a child is replacing a method with the same signature in its parents

What is override?

300

This keyword marks a method or field as belonging to the class, instead of the object

What is static?

300

A blueprint or template for a category of things

What is a class?

300

The keyword used to refer to a parent's implementation

What is super?

300

An interface implemented by a separate class that wants to define order for some other class

(Bonus point for the method)

What is Comparator?

(Bonus: compare(a, b))

300

This indicates that a child type may be used anywhere a parent type is expected AND what appears to be one method may at run time be a different implementation

What is polymorphism?

400

Converting from a more complex type to a less complex type

What is casting?

400

This method is used to determine a custom equivalency check for an object

What is equals()?

400

A type of class that has no state and only abstract behavior

What is an interface?

400

A linked-node structure that doesn't have a parent/child relationship between the nodes

What is a graph?

400

A special kind of class in which all possible instances are specified during declaration

What is an enum/an enumeration?

500

All variables must be declared with a type and a name

What is static typing?

500

The language name for the diagram standard for OOP systems

What is Unified Modeling Language (UML)?

500

A child inherits all the accessible state and behavior of its parent class except for this

What is a constructor?

500

An algorithm for traversing a tree that starts at the root of the tree and explores all of the neighbor nodes at the present depth before moving on to the next depth level

What is Breadth-First Search (BFS)?

500

Refers to the use of access modifiers to protect access to state and behavior AND the fact that an instance keeps related state and behavior together in one container

What is encapsulation?

M
e
n
u