Day 46 | Daily Java interview question | #java #ocjp #scjp #javacertification

preview_player
Показать описание
Java programming interview questions
Java interview questions
Java programming interview
Java tutorial
learn Java
Java interview
springboot
#scjp #javaprogramming #javainterviewquestion #javatutorial #learnjava #interview #javaquestions #javascript #ocjp #java #javacertification #ocjp
#scjp
Рекомендации по теме
Комментарии
Автор

great learning, , , please add more content on the same, thank you

digitallearning-
Автор

U r trying to perform overriding on variable but in case of variables compiler are responsible to handle
In this case 100 will be answer in case of overriding responsibility to handle the method resolutions to jvm based on the run time object

Choudhary-ie
Автор

override can not be performed for primitive data type and static methods
child can not override parent int
so ans will be 100

arekuti
Автор

100 I think we created parent as type parent don't know that child exists

JithinmylavarapuJithinmy-htkk