What is the diff between implicit and explicit call in constructor?? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

What is the diff between implicit and explicit call in constructor??

please anyone explain me..

9th Feb 2017, 2:58 AM
Pratik Sharma
Pratik Sharma - avatar
1 Resposta
+ 2
ExplicitĀ means done by the programmer.Ā ImplicitĀ means done by the JVM or the tool , not the Programmer. For Example: Java will provide us default constructor implicitly.Even if the programmer didn't write code for constructor, he can call default constructor. Explicit is opposite to this , ie. programmer has to writeĀ 
25th Jun 2017, 9:18 PM
Peshkawt Mahmood
Peshkawt Mahmood - avatar