how to know the total memory occupied by the objects in the
ArrayList(Array list may contain duplicate objects)


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

Post New Answer

More Core Java Interview Questions

write a program to create an arraylist and listeterator.and value should be enter through keyboard.

1 Answers   Axcend,


Is 0 a prime number?

0 Answers  


What is the purpose of stub and skeleton?

0 Answers  


What is static data type in java?

0 Answers  


What collections you have worked on? Internal working of Hashmap?

1 Answers   Bravura Solutions,


Mention the default values of all the elements of an array defined as an instance variable.

0 Answers  


Explain the differences between public, private, protected and static?

4 Answers  


Explain aggregation in java?

0 Answers  


What is java virtual machine and how it is considered in context of java’s platform independent feature?

0 Answers  


Which is better list or arraylist in java?

0 Answers  


What will be the initial value of an object reference which is defined as an instance variable?

0 Answers  


What is Overriding and how can it be used?

7 Answers   Consagous, Wipro,


Categories