• calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    I’m not a java programmer, but I think the equivalent to str would be char[]. However the ergonomics of rust for str isn’t there for char[], so java devs probably use String everywhere.