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


Please Help Members By Posting Answers For Below Questions

Is jdk an ide?

493


Why oracle type 4 driver is named as oracle thin driver?

453


What is jboss in java?

497


What is the use of flatmap in java 8?

461


What is jpa project?

478






What happens when you omit a brace or misspell one of the words, like public or

470


What is the front end for java?

490


Is java singleton thread safe?

478


What is java web application?

469


How do you create a jar file?

479


What does jpa mean?

498


How can you work with permissions from your .net application? : java security

495


What if the main method is declared as private?

472


What is the most important feature of java?

457


can anyone tell me what kind of questions are asked for core java exam in aptech

1454