Facebook Twitter RSS
magnify
Home Topic Bugs with class field "Array"

Bugs with class field "Array"

Home Forums Bugs and feature requests Bugs with class field "Array"

This topic contains 3 replies, has 4 voices, and was last updated by  DrakeCew 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #683

    Wisp
    Participant

    class A

    {

    private int[] B;  – Work

    private int[] B = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};  – Work

    private int[] B = (16);  – Does not work

    }

    #684

    andre.santee
    Keymaster

    Hi @Wisp, I don’t think it is supposed to. If you mean to start the array with a single element, use {} instead:

    private int[] B = { 16 };

    #689

    Kraemer
    Moderator
    #48051

    DrakeCew
    Participant

    More Life was supported by two singles: “Fake Love” and “Sneakin'”, featuring 21 Savage.
    Both singles were premiered on October 24,
    during Drake’s 30th birthday episode of OVO Sound Radio
    Fake Love watch?v=o8Bhyhu_9XU
    YouTube: Drake Fake Love
    Help to find Drake Fake Love lyrics or Fake Love lyrics

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.