What do u mean constructor in java ?
Answer / jeetesh
constructor is nothing but name of class name of the
constructor should be same
Main goal of constructor: is to initialize states of
an objects value or attributes values
while creating object to the class automatically
constructor will call
constructor in java:
1 name of constructor and name of class should be same
2 constructor it will call while
Creating object
3 constructor does not have return value
4 constructor cannot be final
5 constructors cannot be static if it is static means we
cannot create object to static
6 constructor cannot be inherit
7 constructor cannot be abstract
8 constructor first statement should be either super()
calling or this() calling
9 Overriding is not possible in case of constructor
| Is This Answer Correct ? | 1 Yes | 0 No |
what is the difference between BE and BTECH??
What is the pattern for HAL Online-exam?
I need vlsi interview question papers
1 Answers HCL, Intel, Suzlon, TCS, UGC NET,
when there is a parametrized constructor, and an object is created with no arguments. will the default constructor be called?
can you please tell me your understanding in database,what is it
I am getting the following error,when I am running the script, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. My Script: Itemname=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Print Itemname Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").Select "Itemname" Any Help? Thanks, Uma
I HAVE GOT 55% IN 12TH CLASS. IS IT GOOD TO DO B.E. CAN I SIT IN THE CAMPUS SELECTION.
the ability for the processor to delegate its use by application is called
Bird is flying 120 km/hr between B to R. Two trains at B to R at 60 kmph. The distance traveled by the bird before it is killed?
What is the aim of Value Engineering?
0 Answers BPCL Bharat Petroleum,
what is a query for divide a table into two subtable?
give me some knowledge about automation on which asked on interview
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)