Is it possible to create object with out its default
constructor? if possible how? else not possible? justify

Answer Posted / dsr

with out default constructor we can't create the object.
suppose we can't write default constructor in the class.
JVM will be creating the default constructor for that class.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is keyword in oop?

765


What is the use of list in java?

752


Implementations of set interface?

788


Mention a package that is used for linked list class in java.

756


What is field name?

787


Can a hashset contain duplicates java?

713


What is the constructor?

822


What are the topics in core java?

820


What is the platform?

766


What is the ==?

685


What is the string function?

759


Why java is a platform independent? Explain

771


How to Sort Strings which are given in List and display in ascending order without using java api.

4107


How to set the permissions to a file in java?

766


Why javac is not recognized?

725