Codekru

Golang slices

In this post, we are going to learn about the Golang slices in detail. Previously we have learned all about the arrays in the Go language but there is one major limitation to the arrays, they cannot grow or shrink in size as per our needs. To overcome this limitation of the arrays, Go provides

Golang slices Read More »

Vector class in Java

The Vector class implements a growable array of objects. Just like an array, we can access its elements by using an integer index but the size of a Vector can grow or shrink as per our need. Vector is now a part of the Collection framework since Java 1.2 and hence it implements the Collection

Vector class in Java Read More »