Java basics Flashcards
Length in bytes/max value for primitive types
Meaning of keywords: static, final, transient
this’ and ‘super’ keywords
Contract between equals() and hashCode()
Access modifiers in Java
Explain strictfp, volatile, transient
What different between StringBuffer and StringBuilder
Purpose, types and creation of nested classes
What does it mean that an object or a class is mutable or immutable
How to make class immutable
Besides “string” do you know any other immutable classes
Rules to create equals method (stability, transitivity, reflectivity etc)
Difference between overriding and overloading
How can we replace multi-inheritance pattern in Java
Can interface inherit from different interface
Interfaces can inherit from one or more interfaces. The derived interface inherits the members from its base interfaces