Difference between array and arraylist.
Answer Posted / abhay shukla
1) Array is the one which can save similar data type
elements and the size is limited.
2) Array list is a collection which is capable of saving
different data typed objects, and is grow able.
3) Array is the collection of values of the same data type.
Array list is a class
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is a for loop in java?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
define the terminology association.
How to create packages in java?
Difference between static and dynamic class loading.
Explain static nested classes ?
What is exception propagation?
What does a boolean method return?
What is the difference between a choice and a list?
Is java a compiler?
What is the difference between a constructor and a method?
What are the differences between the constructors and methods?
What are scalar data types?
How does compareto work in java?
What is meant by method overriding?