Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9174615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:46:58+00:00 2026-06-17T16:46:58+00:00

Possible Duplicate: Why aren’t arrays expandable? I am starting to learn Java as my

  • 0

Possible Duplicate:
Why aren’t arrays expandable?

I am starting to learn Java as my Computer Science school’s assignments require this language and I’m liking the language. However, I’ve seen that Java arrays are not expansible – that is – you must declare their length before using them and it can’t be changed further.

I’d like to know exactly why is that? Why the Java language designers chose to to make arrays as such? I guess it’s for performance concerns but I’m not sure.

Thanks everyone in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:46:58+00:00Added an answer on June 17, 2026 at 4:46 pm

    I’d like to know exactly why is that? Why the Java language designers chose to to make arrays as such? I guess it’s for performance concerns but I’m not sure.

    They designed primitives and arrays to be as simple and low level as possible. They don’t do anything special and arrays don’t use Object Orientated design at all. i.e. they only have a few useful methods, none specific to arrays.

    The idea was that you would write higher level collections such as Lists using these low level constructs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Why aren't static const floats allowed? Is there any reason why this
Possible Duplicate: .NET Controls: Why aren’t all calls thread-safe? This question is not about
Possible Duplicate: Why aren’t Java Collections remove methods generic? The Java Collection<E> interface has
Possible Duplicate: Is List<Dog> a subclass of List<Animal>? Why aren't Java's generics implicitly polymorphic?
Possible Duplicate: Is `List<Dog>` a subclass of `List<Animal>`? Why aren’t Java’s generics implicitly polymorphic?
Possible Duplicate: Is List<Dog> a subclass of List<Animal> ? Why aren't Java's generics implicitly
Possible Duplicate: Is List&lt;Dog&gt; a subclass of List&lt;Animal&gt; ? Why aren't Java's generics implicitly
Possible Duplicate: Is `List<Dog>` a subclass of `List<Animal>`? Why aren’t Java’s generics implicitly polymorphic?
Possible Duplicate: Why aren't Java Collections remove methods generic? I noticed that few of
Possible Duplicate: Why aren't Java Collections remove methods generic? Does anyone know why MyDamnedUnclearList.remove()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.