This is a small part of a project I've started on, but what I'm trying to accomplish with this example code is combine different objects to create a new object. This will be used in a simple DOS era...
Type: Posts; User: Ace Coder
This is a small part of a project I've started on, but what I'm trying to accomplish with this example code is combine different objects to create a new object. This will be used in a simple DOS era...
Alright that's where I'm lost. How can I either get extraClass to 'see' Third, or possibly accomplish the same goal in a different way?
The Third object was declared and initialized in the Main class.
Basically I have:
A main class:
public class mainClass
{
public static void main(String[] args)
{
extraClass First=new extraClass("First",1,true);
extraClass...