Java Technology - 2018 - Questions
Can we overload main method ? Constructor returns a value but, what ? Can we create a program without main method ? What are the 6 ways to use this keyword ? Why multiple inheritance is not supported in java ? Why use aggregation ? Can we override the static method ? What is covariant return type ? What are the three usage of super keyword? Why use instance initializer block? What is the usage of blank final variable ? What is marker or tagged interface ? What is runtime polymorphism or dynamic method dispatch ? What is the difference between static and dynamic binding ? How downcasting is possible in java ? What is the purpose of private constructor? What is object cloning ? Why String objects are immutable? How to create an immutable class? What is string constant pool? What code is written by the compiler if you concat any string by + (string concatenation operator)? What is the difference between StringBuffer and StringBuilder class? Exercise: Fibonacci...