Core java Interview Question and Answer By Vivek Part -3

preview_player
Показать описание
#JavaMethodOverloading
#MethodOverloadingArguments
#MethodOverloadingReturnType
#OverloadMainMethod
#JavaMethodOverriding
#OverrideStaticMethod
#NoStaticMethodOverride
#OverrideOverloadedMethod
#OverloadingVsOverriding
#JavaVirtualFunctions
#CovariantReturnType
#RuntimePolymorphism
#PolymorphismDataMembers
#StaticVsDynamicBinding
#JavaAbstraction
#AbstractionVsEncapsulation
#JavaAbstractClass
#AbstractMethodWithoutAbstractClass
#AbstractAndFinalMethod
#InstantiateAbstractClass
41. How will you implement method overloading in Java?
42. What kinds of argument variations are allowed in Method
Overloading?
43. Why it is not possible to do method overloading by changing return
type of method in java?
44. Is it allowed to overload main() method in Java?
45. How do we implement method overriding in Java?
46. Are we allowed to override a static method in Java?
47. Why Java does not allow overriding a static method?
48. Is it allowed to override an overloaded method?
49. What is the difference between method overloading and method
overriding in Java?
50. Does Java allow virtual functions?
51. What is meant by covariant return type in Java?
Polymorphism
52. What is Runtime Polymorphism?
53. Is it possible to achieve Runtime Polymorphism by data members in
Java?
54. Explain the difference between static and dynamic binding?
Abstraction
55. What is Abstraction in Object Oriented programming?
56. How is Abstraction different from Encapsulation?
57. What is an abstract class in Java?
58. Is it allowed to mark a method abstract method without marking the
class abstract?
59. Is it allowed to mark a method abstract as well as final?
60. Can we instantiate an abstract class in Java?

How will you implement method overloading in Java? - 00:00
What kinds of argument variations are allowed in Method Overloading? - 00:40
Why it is not possible to do method overloading by changing return type of method in java? - 01:20
Is it allowed to overload main() method in Java? - 02:00
How do we implement method overriding in Java? - 02:40
Are we allowed to override a static method in Java? - 03:20
Why Java does not allow overriding a static method? - 04:00
Is it allowed to override an overloaded method? - 04:40
What is the difference between method overloading and method overriding in Java? - 05:20
Does Java allow virtual functions? - 06:00
What is meant by covariant return type in Java? - 06:40
What is Runtime Polymorphism? - 07:20
Is it possible to achieve Runtime Polymorphism by data members in Java? - 08:00
Explain the difference between static and dynamic binding? - 08:40
What is Abstraction in Object Oriented programming? - 09:20
How is Abstraction different from Encapsulation? - 10:00
What is an abstract class in Java? - 10:40
Рекомендации по теме