Results 1 to 6 of 6

Thread: I'm not familiar with these java syntax... Could someone please elaborate?

Threaded View

  1. #1

    Thread Starter
    Banned debbie_82's Avatar
    Join Date
    Jan 2004
    Location
    inside a hollow void
    Posts
    104

    Question I'm not familiar with these java syntax... Could someone please elaborate?

    Code:
    private ArrayList<DemoModule>  demosList = new ArrayList<DemoModule> ();
    Code:
    for (SwingSet2 ss :  swingSets) {
                        ss.updateThisSwingSet();
                    }

    I haven't seen these in my old books.

    And well right now they are causing some errors on my eclipse editor... But these snippets are from the demo projects shipped with java 1.5 so I think they should be working right?

    How do I make the errors go away?
    And what's the purpose of these constructs?
    Last edited by debbie_82; Nov 24th, 2004 at 12:27 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width