What is wrong with this: - PowerPoint PPT Presentation

1 / 1
About This Presentation
Title:

What is wrong with this:

Description:

What is wrong with this: public deleteEveryInstanceOf (listFoo, FooClass foo) ... { FooClass fx = e.nextElement (); if (foo = fx) { remove(foo) ... – PowerPoint PPT presentation

Number of Views:31
Avg rating:3.0/5.0
Slides: 2
Provided by: BIL86
Category:
Tags: courses | wrong

less

Transcript and Presenter's Notes

Title: What is wrong with this:


1
  • What is wrong with this
  • public deleteEveryInstanceOf (listFoo,
    FooClass foo)
  • for (Enumeration e Vector.elements ()
    e.hasMoreElements (listFoo) )
  • FooClass fx e.nextElement ()
  • if (foo fx)
  • remove(foo)
Write a Comment
User Comments (0)
About PowerShow.com