Example & Tutorial understanding programming in easy ways.

Where you use List and where ArrayList?

Use List when we need pass any subclass of List like ArrayList,Vector and LinkedList.
Otherwise we can use ArrayList

Using List is good practices.

List list = new ArrayList(); (Recommended)
ArrayList = new ArrayList();

Read More →
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!