English, asked by nilijagadish777, 3 months ago

why is the customer called a co-constructor in Autofab​

Answers

Answered by satakshighosh777
4

\huge \sf \bf {\boxed{\underline {\pink{\underline {✠Aɴʂᴡᴇʀ࿐ :−}}}}}

ɪᴛ ɪs ᴄᴀʟʟᴇᴅ ᴡʜᴇɴ ᴀɴ ɪɴsᴛᴀɴᴄᴇ ᴏғ ᴛʜᴇ ᴄʟᴀss ɪs ᴄʀᴇᴀᴛᴇᴅ. ... ɪᴛ ɪs ʙᴇᴄᴀᴜsᴇ ᴊᴀᴠᴀ ᴄᴏᴍᴘɪʟᴇʀ ᴄʀᴇᴀᴛᴇs ᴀ ᴅᴇғᴀᴜʟᴛ ᴄᴏɴsᴛʀᴜᴄᴛᴏʀ ɪғ ʏᴏᴜʀ ᴄʟᴀss ᴅᴏᴇsɴ'ᴛ ʜᴀᴠᴇ ᴀɴʏ.

Answered by Anonymous
13

Explanation:

Answer: It is because java compiler creates a default constructor if your class doesn't have any.

Similar questions