Why are constructors used?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Can we use catch statement for checked exceptions?

0 Answers  


What is pre increment and post increment in java?

0 Answers  


Q) I have a ArrayList object, in that object i have added 5 integer values, 5 float values, 5 string values. Now question is how can delete particular type of data ( i.e all int values or all float values or string values) in that list object at a time?

3 Answers   Aricent,


What are the two ways of implementing multi-threading in java?

1 Answers  


What is your platform’s default character encoding?

0 Answers  






Why there is no call by reference in java?

0 Answers  


Why java is not 100% object-oriented?

1 Answers  


What is the gregoriancalendar class in java programming?

0 Answers  


Why do inner class cannot have static declaration except static nested class?

2 Answers   TCS, Wipro,


Is object a data type?

0 Answers  


What are the two ways to create a thread?

0 Answers  


What are the core java topics?

0 Answers  


Categories