Skip to content

a c++ equvivlent with java #25

@randomwangran

Description

@randomwangran

http://www.yinwang.org/blog-cn/2020/02/13/java-type-system

public static void f() {
    String[] a = new String[2];
    Object[] b = a;
    a[0] = "hi";
    b[1] = Integer.valueOf(42);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions