adspace
what is constructer?what are the type of constructer with
example.
Answer Posted / sunil prasad
Constructor is a specail type of mrthod.constructor name
should be same with the class name
There is defferent type of construtor:-
default constructor
parameter constructor
default construtor automatically call when we create
object of class.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
what is reflection api? How are they implemented?
What is the resourcebundle class?
Can we extract main method from another class?
How does java handle integer overflows and underflows?
What is the first argument of the string array in main method?
What is the java api?
Are jvm’s platform independent?
What if I write static public void instead of public static void?
What is the locale class?
What do you understand by casting in java language? What are the types of casting?