Well it depends a lot on what Apple cls does compared to Apples are they almost the same?

Wokawidget's suggestion will work, you could also do it outside of your objects. Like in the SaveToFile sub
VB Code:
  1. Public Sub SaveToFile(strFileName as string)
  2.    If trim$(strFileName)="" then
  3.       dim tmpObj as new Apple
  4.       tmpObj.SaveToTextFile strFileName
  5.    Else
  6.      dim tmpObj as New Apples
  7.      tmpObj.SaevToDB
  8.    End If

Or I will attach an example of using an object inside another object and as a collection.