Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

arrays vs collections

There are so many differences
1.Arrays are fixed in size but Collections are dynamic size.
2.Arrays can hold both primitives and wrapper
objects but collections can hold only objects.
3.We have iterators for collection but we
do not have them for arrays.
Comment

PREVIOUS NEXT
Code Example
Java :: Java How to use Deque? 
Java :: capture console output java 
Java :: java garbage collection 
Java :: lambda expression java 
Java :: room insert and return id 
Java :: Java Expression statements 
Java :: Java Creating a HashSet 
Java :: path in spring form 
Java :: finalize method 
Java :: stream reduce 
Java :: convert string array to string 
Java :: java design patterns 
Java :: use custom font java 
Java :: java enum in switch statement 
Java :: private method in interface java 
Java :: Java forEach() Method 
Java :: instanceof java 
Java :: abstract class java 
Java :: convert python to java 
Java :: java public keyword 
Java :: add checkbox box rows in tabulator 
Java :: Java Custom Annotations 
Java :: java cambiar formato de fecha 
Java :: url to json 
Java :: functionality of consumer functional interface in java 
Java :: destroy fragent after navigating 
Java :: transform primitive float array to float array 
Java :: java thyemleaf save table form to database 
Java :: Composite foreign keys as primary key jpa 
Java :: java requirenonnull 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =