No Image

Java: Private Constructor

April 20, 2016 SJ 0

In this article, we will learn and understand the need of private constructor in Java Private constructor: Private constructor prevents creating more than one object Read More

No Image

Java: Method v/s Constructor

April 18, 2016 SJ 0

In this article, we will list the difference between method and constructor in Java Before moving ahead with the differences, read the detailed concepts about Read More

1 2