Difference between array and arraylist.
Answer Posted / nagarjunareddy.sannapareddy
array is a collection of similar type of data and the
capacity of array is fixed and it define with in system name
pace
array list it hold different type of data and the capacity
of hairstylist is increase dynamically it define withe in
system.collections name space
Is This Answer Correct ? | 29 Yes | 10 No |
Post New Answer View All Answers
What is unmodifiable collection in java?
What are the important methods of java exception class?
What is difference between local variable and global variable?
What is parsing in java?
What is vector capacity in java?
What does arrays sort do in java?
what is the difference between thread and runnable types? : Java thread
Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.
explain the concept of virtual method invocation in polymorphism in detail?
Can array grow dynamically in java?
What does opcode mean?
How do you do absolute value in java?
How do you initialize an arraylist in java?
Explain the significance of listiterator.
What is the meaning of variable in research?