Skip to content

Java Basics

Java Basics#

  • String Immutability
  • String Pool
  • dynamic method dispatch
  • abstract class
  • Can static, private, final methods be overridden?
  • difference between interface and abstract class?
  • achieve Multiple Inheritance in JAVA?
  • What is the difference between inner class and nested class?
  • final class, final method
  • What is final field, static field
  • What is singleton class
  • When can you override clone method of Object class
  • What is an extensible framework?
  • why JAVA is platform independent?
  • Can we have multiple constructors in a class
  • super and this?
  • What is the difference between String Builder and String Buffer?
  • What is the difference between == and .equals()?
  • The internal working of Hash-map in java?



Ref: Spec: