senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Mental Tofu Haver (floatingghost@ihatebeinga.live)'s status on Monday, 22-Jul-2019 19:43:36 JST Mental Tofu Haver Mental Tofu Haver
    • Mental Tofu Haver

    unexpected java behaviour case #1:

    Given that you have an ArrayList<String> someArray, and you were to call .clone() on this, what would you expect the returned type to be?

    a. ArrayList<String>b. ArrayList<SomeGenericTypeIDK>c. Object

    if you answered a, congratulations, you’re sane! however you are wrong. the answer is somehow c.

    In conversation Monday, 22-Jul-2019 19:43:36 JST from ihatebeinga.live permalink
    • tsumiki :blabcatverified: (ivesen@miniwa.moe)'s status on Monday, 22-Jul-2019 19:44:45 JST tsumiki :blabcatverified: tsumiki :blabcatverified:
      in reply to
      • tsumiki :blabcatverified:
      @FloatingGhost do I get to stay sane if I counted on java being insane?
      In conversation Monday, 22-Jul-2019 19:44:45 JST permalink
    • Mental Tofu Haver (floatingghost@ihatebeinga.live)'s status on Monday, 22-Jul-2019 19:45:36 JST Mental Tofu Haver Mental Tofu Haver
      in reply to
      • tsumiki :blabcatverified:
      @ivesen that is probably the most sane way to approach java
      In conversation Monday, 22-Jul-2019 19:45:36 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.