What is the diff between implicit and explicit call in constructor?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 Answer
+ 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