DEV Community

Cover image for Understanding Collections Framework in JAVA
Ebenezer
Ebenezer

Posted on

Understanding Collections Framework in JAVA

Hey Folks!

Good day...

Today I learned what is collections framework? what it does ? what are the difficulties we faced without using this framework?
I want to share what I learned today in this Blog.

Usually without frameworks can we modify or append the new element in our array . Ofcourse we can do but the steps we need to write code.
But after Frameworks are arrived It is much easy to edit or append our array .
It Increases performance by providing high-performance implementations of data structures and algorithms. Because the various implementations of each interface are interchangeable, programs can be tuned by switching implementations.

The above points are advantages of using collections framework .

The below image is the hierachy or tree for collections framework.

We will see every algorithms in details in the upcoming blogs...

Another thing my fellow collegue asked to our trainer can you explian JDBC?
JDBC stands for Java Data Base Connectivity . It is used to connect Java with Databases like Postgresql , SQL ,etc...

I tried to convey my understanding in this blog and also I tried to connect .

Firstly I installed postgresql .I am using Fedora Distribution I ran this command to install

sudo dnf install postgresql-server postgresql-contrib

Enter fullscreen mode Exit fullscreen mode

I created a simple students table and connected it with java . We will see in detail in my future blog...

Top comments (0)