Types: CS 310 Lecture notes

Object-Oriented Programming with Java Lecture Notes

10 February 2009 • Types


This is in contrast to C++, which will call T’s default constructor when when constructing an array of Ts. It is similar to constructing an array of T*, except C++ doesn't initialize the array elements while Java does.


This page last modified on 24 January 2006.