Program Example: test()
void test () // Java
{
int i;
int a[ ] = new int [10];
anObject ao = new anObject();
…..
}
void test () // C++
{
int i,
int a [10];
anOb j e ct ao;
…..
}
Previous slide
Next slide
Back to first slide
View graphic version