Home Whiteboard Graphing Calculator Online Compilers Articles Tools

Explore Categories

Find the perfect tutorial for your learning journey

Python TechnologiesDatabasesComputer ProgrammingWeb DevelopmentJava TechnologiesComputer ScienceMobile DevelopmentBig Data & AnalyticsMicrosoft TechnologiesDevOpsLatest TechnologiesMachine LearningDigital MarketingSoftware QualityManagement Tutorials View All Categories
Tutorials Courses Jobs Login
Java Programming Examples
  • Example - Home
  • Example - Environment
  • Example - Strings
  • Example - Arrays
  • Example - Date & Time
  • Example - Methods
  • Example - Files
  • Example - Directories
  • Example - Exceptions
  • Example - Data Structure
  • Example - Collections
  • Example - Networking
  • Example - Threading
  • Example - Applets
  • Example - Simple GUI
  • Example - JDBC
  • Example - Regular Exp
  • Example - Apache PDF Box
  • Example - Apache POI PPT
  • Example - Apache POI Excel
  • Example - Apache POI Word
  • Example - OpenCV
  • Example - Apache Tika
  • Example - iText
  • Java - Tutorial
  • Java Useful Resources
  • Java - Quick Guide
  • Java - Useful Resources
Selected Reading
  • UPSC IAS Exams Notes
  • Developer's Best Practices
  • Questions and Answers
  • Online Resume Builder
  • HR Interview Questions
  • Computer Glossary
  • Who is Who
Home Javaexamples Java Collections - Programming Examples

Java Collections - Programming Examples



Previous
Quiz
Next

Learn how to play with collections in Java programming. Here are most commonly used examples −

  • How to convert an array into a collection?

  • How to compare elements in a collection?

  • How to convert a collection into an array?

  • How to print a collection?

  • How to make a collection read-only?

  • How to remove a specific element from a collection?

  • How to reverse a collection?

  • How to shuffle the elements of a collection?

  • How to get the size of a collection?

  • How to iterate through elements of HashMap?

  • How to use different types of Collections?

  • How to use enumeration to display contents of HashTable?

  • How to get Set view of Keys from Java Hashtable?

  • How to find min & max of a List?

  • How to find a sublist in a List?

  • How to replace an element in a list?

  • How to rotate elements of the List?

Previous Quiz Next
Advertisements
  • ABOUT US
  • OUR TEAM
  • CAREERS
  • JOBS
  • CONTACT US
  • TERMS OF USE
  • PRIVACY POLICY
  • REFUND POLICY
  • COOKIES POLICY
  • FAQ'S
tutorials point logo
Download Android App Download IOS App

Tutorials Point is a leading Ed Tech company striving to provide the best learning material on technical and non-technical subjects.

Copyright 2026. All Rights Reserved.