Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants

Coworker's whiteboard today
New lesson learned: In Java, object creation only happens at runtime.
A a = new B();
a.doSomething();
Compiler steps:
- checks if A exists
- checks if B exists
- checks if B is subclass of A
- compiles (code -> Bytecode)
Runtime:
- checks if B overrides doSomething() of A
- executes the overridden version
rant
compiletime
java
runtime