Constructor In Java
What is constructor:-
To initialize the object
To initialize Class variable (Static and Instance)
1. Default
Created by Java
2.No args(Argument)
User
3.Argument or Parameterized
It is also called as parameterized constructor
User (Arguments pass)
Constructor wont allow abstract,final ,static, synchronized
We can use modifiers names to constructor (Public, Protected, Private, Default)