pTutorial

New way to learn Programming

Java Array Example Code

Check super clss of array example

package arrayexample;
public class CheckSuperClssOfArray {
    public static void main(String[] args) 
    {
    int z[]=new int[5];
    CheckSuperClssOfArray uk=new CheckSuperClssOfArray();
    System.out.println(uk.getClass());
    System.out.println(uk.getClass().getSuperclass());
    }
}

Output

class arrayexample.CheckSuperClssOfArray
class java.lang.Object

See Also


QUOTES OF THE DAY

Beauty is truth, Truth beauty- That is all

LIKE ON FACEBOOK

+1 ON GOOGLE

SHARE ON TWITTER