Difference between array and arraylist.
Answer Posted / suhas
Array: can store primitive ArrayList: Stores object only
Array: fix size ArrayList: resizable
Array: can have multi dimensional
Array: lang ArrayList: Collection
framework
Is This Answer Correct ? | 74 Yes | 12 No |
Post New Answer View All Answers
Write java program to reverse string without using api?
what is thread in Java ?
Detail discussions on JVM, memory management and garbage collector.
What are the different types of java?
Explain what pure virtual function is?
What is the syntax and characteristics of a lambda expression? Explain
Why string is a class?
What is a map in java?
What are the basics of core java?
Which is faster string or stringbuilder?
What all methods are used to prevent thread execution ?
What is java thread dump, how can we get java thread dump of a program?
Is hashmap thread safe?
Explain a situation where finally block will not be executed?
Can you explain the final method modifier?