Creating Classes

Posted on 2004-11-24
Last Modified: 2010-04-23
I am creating a bomb class for our applications.  I have 2 classes Bomb and BombDetail.  In the Bomb Class I have a Proprty for BombDetail that I want as an Arrary of BombDetail.  How do I set this up so I can create new BombDetails and add them to the BOmbDetail property of the Bomb Class.
Question by:d_potts
    1 Comment
    LVL 9

    Accepted Solution

    The easiest way would to be to create bomb detail as an ArrayList inside the Bomb class.   Although the ArrayList object can hold any type of object, it's a lot easier and less programming intensive than creating a BombDetail collection class.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now