Day 49 | Daily Java interview question | #java #ocjp #scjp

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

Parent
Child
Child
In method overriding concept the method resolution always object only..not an object reference

bharathraj
Автор

Parent(object created for parent class)
Child(object created for child class)
Child(object created for child class)

indumathykarthikeyan
Автор

Parent
Child
Child (because object create in runtime)

_Samar-Coding
Автор

What if the print is not present in parent then what it will print in third method call

HimanshuSingh-tiqw
Автор

Parent
Child
Child (it is upcasting concept)

ItsTheTime
Автор

Only runs parents and child pc is invalid so is method will be error
Please tell me my ans is correct

indian_musicwallah_
Автор

Parent
Parent and child
Parent and child

AjayChauhan-otss