can the types used to instantiate and declare arrays be different code example Example: Declare, instantiate, initialize and use a one-dimensional array data = new Double[10];