Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: How to clear LinkedList

Java: How to  clear LinkedList

import java.util.LinkedList;
public class Ex_LinkedList
  public static void main(String[] args)
    LinkedList ma_Liste = new LinkedList();
    System.out.println("LinkedList contains : " + ma_Liste);
    // remove all of items from the LinkedList
    System.out.println("LinkedList contains : " + ma_Liste);

Users who found this page were searching for:

  • how to clear a linked list java
  • progressmonitor
  • clear linkedlist java
  • reading email with pop3 perl

No comments yet.

Leave a Comment