Java Deck
Start Spaced Repetition Session158 cards
Questions
Constants2
Cons of constants in a project-wide class
conceptuallocked
Sign up to unlockBest practices for organizing class constants
conceptuallocked
Sign up to unlockPolymorphism26
Method binding
conceptuallocked
Sign up to unlockCompilation 16
conceptuallocked
Sign up to unlockCompilation 17
conceptuallocked
Sign up to unlockCompilation 18
conceptuallocked
Sign up to unlockCompilation 19
conceptuallocked
Sign up to unlockMethod overloading
conceptuallocked
Sign up to unlockInstanceof check
conceptuallocked
Sign up to unlockPolymorphism
conceptuallocked
Sign up to unlockCompilation 29
conceptuallocked
Sign up to unlockCompilation 41
conceptuallocked
Sign up to unlockCompilation 42
conceptuallocked
Sign up to unlockCompilation 43
conceptuallocked
Sign up to unlockCompilation 44
conceptuallocked
Sign up to unlock@Override
conceptuallocked
Sign up to unlockCriteria for successful method overriding
conceptuallocked
Sign up to unlockCompilation 47
conceptuallocked
Sign up to unlockCompilation 48
conceptuallocked
Sign up to unlockCompilation 58
conceptuallocked
Sign up to unlockCode 114
codinglocked
Sign up to unlockCompilation 122
conceptuallocked
Sign up to unlockEarly / static binding
conceptuallocked
Sign up to unlockOutput 124
conceptuallocked
Sign up to unlockLate/dynamic binding
conceptuallocked
Sign up to unlockDouble dispatch
conceptuallocked
Sign up to unlockMethods that cannot be overridden
conceptuallocked
Sign up to unlockOutput 188
conceptuallocked
Sign up to unlockMethod Signatures7
Method signature
conceptuallocked
Sign up to unlockMethods binding calls
conceptuallocked
Sign up to unlockEffective signature 51
conceptuallocked
Sign up to unlockEffective signature 52
conceptuallocked
Sign up to unlockCompilation 53
conceptuallocked
Sign up to unlockNumber of varargs params for a method
conceptuallocked
Sign up to unlockVararg param ordering
conceptuallocked
Sign up to unlockGenerics8
Generic type
conceptuallocked
Sign up to unlockBound vs unbound type parameter
conceptuallocked
Sign up to unlockType erasure
conceptuallocked
Sign up to unlockBridge method
conceptuallocked
Sign up to unlockReifiable vs non-reifiable
conceptuallocked
Sign up to unlockCompilation 49
conceptuallocked
Sign up to unlockHeap pollution
conceptuallocked
Sign up to unlockCompilation 59
conceptuallocked
Sign up to unlockInterfaces12
Interface
conceptuallocked
Sign up to unlockCode 31
codinglocked
Sign up to unlockDefault method in an interface
conceptuallocked
Sign up to unlockAbstract class on implementing interface methods
conceptuallocked
Sign up to unlockInterface instantiation
conceptuallocked
Sign up to unlockInterface implicit definition
conceptuallocked
Sign up to unlockInterface fields implicit definition
conceptuallocked
Sign up to unlockConcrete sub-class implementing abstract interface methods
conceptuallocked
Sign up to unlockConcrete class implementing multiple interfaces
conceptuallocked
Sign up to unlockInterfaces on instance state or constructors
conceptuallocked
Sign up to unlockInterface methods that can have implementations
conceptuallocked
Sign up to unlockAbstract interface methods with method bodies
conceptuallocked
Sign up to unlockInheritance1
Classes and multiple inheritance
conceptuallocked
Sign up to unlockAbstract Classes10
Abstract class
conceptuallocked
Sign up to unlockKeyword for a parent class
conceptuallocked
Sign up to unlockCode 36
codinglocked
Sign up to unlockAbstract class instantiation
conceptuallocked
Sign up to unlockConcrete sub-class implementing abstract methods of abstract class
conceptuallocked
Sign up to unlockAbstract classes and defining concrete methods
conceptuallocked
Sign up to unlockAbstract classes defining instance fields and constructors
conceptuallocked
Sign up to unlockAbstract classes and non-public abstract methods
conceptuallocked
Sign up to unlockConcrete classes and abstract methods
conceptuallocked
Sign up to unlockAbstract class extending abstract class - who must implement what
conceptuallocked
Sign up to unlockThis3
Compilation 37
conceptuallocked
Sign up to unlockImplicit insert in every constructor
conceptuallocked
Sign up to unlockCalling another constructor in the same class
conceptuallocked
Sign up to unlockSynchronized9
Intrinsic / monitor lock
conceptuallocked
Sign up to unlockSynchronized keyword
conceptuallocked
Sign up to unlockSynchronized non-static method on two instance objects
conceptuallocked
Sign up to unlockSynchronized static method on two instance objects
conceptuallocked
Sign up to unlockMonitor object acquired for instance vs static synchronized methods
conceptuallocked
Sign up to unlockMonitor object
conceptuallocked
Sign up to unlockArgument passed into a synchronized block
conceptuallocked
Sign up to unlockInterleave access to two different fields using synchronization
conceptuallocked
Sign up to unlockReentrant synchronization
conceptuallocked
Sign up to unlockThreads37
Time slicing
conceptuallocked
Sign up to unlockProcesses
conceptuallocked
Sign up to unlockThreads
conceptuallocked
Sign up to unlockAtomicity of count++
conceptuallocked
Sign up to unlockLiveness
conceptuallocked
Sign up to unlockLocal variables and reference storage
conceptuallocked
Sign up to unlockObject storage
conceptuallocked
Sign up to unlockUpdate / memory visibility
conceptuallocked
Sign up to unlockVolatile
conceptuallocked
Sign up to unlockCPU / instruction reordering in Java
conceptuallocked
Sign up to unlockHappens-before guarantee of volatile
conceptuallocked
Sign up to unlockVisibility guarantee of a synchronized block
conceptuallocked
Sign up to unlockHappens-before guarantee of synchronized block
conceptuallocked
Sign up to unlockPiggybacking with synchronization
conceptuallocked
Sign up to unlockInitialization of static fields thread safety
conceptuallocked
Sign up to unlockParallelism versus concurrency
conceptuallocked
Sign up to unlockVisibility guarantee of volatile
conceptuallocked
Sign up to unlockCreating a thread in java
codinglocked
Sign up to unlockwait()
conceptuallocked
Sign up to unlocknotify()
conceptuallocked
Sign up to unlocknotifyAll()
conceptuallocked
Sign up to unlockMany threads calling wait on an object
conceptuallocked
Sign up to unlockCalling wait() or notify() on empty or constant string objects
conceptuallocked
Sign up to unlockSpurious wakeups
conceptuallocked
Sign up to unlockBlocking queue
conceptuallocked
Sign up to unlockThread pool
conceptuallocked
Sign up to unlockWhat is ForkJoinPool
conceptuallocked
Sign up to unlockImplement ExecutorService for network IO bound work
codinglocked
Sign up to unlockWhen to use ExecutorService vs ForkJoinPool
conceptuallocked
Sign up to unlockImplement ForkJoinPool for CPU bound work
codinglocked
Sign up to unlockExecutorService under the hood
conceptuallocked
Sign up to unlockForkJoinPool.commonPool()
conceptuallocked
Sign up to unlockForkJoinPool under the hood
conceptuallocked
Sign up to unlockAwakened thread proceeding
conceptuallocked
Sign up to unlockExecutorService
conceptuallocked
Sign up to unlockFuture
conceptuallocked
Sign up to unlockCompletableFuture
conceptuallocked
Sign up to unlockStatic6
Compilation 87
conceptuallocked
Sign up to unlockStatic class in java
conceptuallocked
Sign up to unlockCode 89
codinglocked
Sign up to unlockCode 90
codinglocked
Sign up to unlockStatic field
conceptuallocked
Sign up to unlockOutput 104
conceptuallocked
Sign up to unlockEnum1
Enum constructor
conceptuallocked
Sign up to unlockFinal4
Final fields
conceptuallocked
Sign up to unlockBehavior of final methods
conceptuallocked
Sign up to unlockBehavior of final classes
conceptuallocked
Sign up to unlockBehavior of final method parameters
conceptuallocked
Sign up to unlockScope & Lifecycle4
Access modifiers
conceptuallocked
Sign up to unlockMake non-static inner class access outer field
codinglocked
Sign up to unlockVariable shadowing
conceptuallocked
Sign up to unlockDifference between initialization and instantiation
conceptuallocked
Sign up to unlockCollections1
Array vs ArrayList
conceptuallocked
Sign up to unlockValues & Memory5
Output 106
conceptuallocked
Sign up to unlockOutput 107
conceptuallocked
Sign up to unlockOutput 108
conceptuallocked
Sign up to unlockReference variable vs primitive
conceptuallocked
Sign up to unlockString reference or primitive
conceptuallocked
Sign up to unlockEquality3
Output 112
conceptuallocked
Sign up to unlock== vs .equals
conceptuallocked
Sign up to unlockOutput 119
conceptuallocked
Sign up to unlockStreams14
Declarative versus imperative programming
conceptuallocked
Sign up to unlockStreams terminal vs intermediate
conceptuallocked
Sign up to unlockparallelStream
conceptuallocked
Sign up to unlockOutput 155
conceptuallocked
Sign up to unlockOutput 157
conceptuallocked
Sign up to unlockOutput 158
conceptuallocked
Sign up to unlockStreams stateful versus stateless operations
conceptuallocked
Sign up to unlockStream reduce
conceptuallocked
Sign up to unlockStream collect
conceptuallocked
Sign up to unlockStream and parallelStream
conceptuallocked
Sign up to unlockStream forEach
conceptuallocked
Sign up to unlockStream flatMap
conceptuallocked
Sign up to unlockStream filter
conceptuallocked
Sign up to unlockStream map
conceptuallocked
Sign up to unlockOptional2
Create an optional with a value and without a value
codinglocked
Sign up to unlockOptional
conceptuallocked
Sign up to unlockExceptions2
Finally block
conceptuallocked
Sign up to unlockChecked vs Unchecked Exceptions
conceptuallocked
Sign up to unlockPersistence1
ORM: Object-Relational Mapper
codinglocked
Sign up to unlock