Interviewer And Interviewee Guide

Java Classes Interview Question:

Java allows objects to initialize themselves when they are created using _________
A) Arguments
B) Classes
C) Constructors
D) Parameters

Submitted by: Administrator
Ans is constructer.

B'coz When a object is created following things are happen:

1) Memory gets allocated to the object

2) Constructer gets called.

3) In constructer the object gets initialize.

i think this will be sufficient to clear the topic..
Submitted by: Administrator

Read Online Java Classes Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.