Rick
Rick

Reputation: 949

Why is there array copy method in class System?

Why is there array copy method in class System? It seems it is not much with system stuff.

Upvotes: 1

Views: 252

Answers (1)

Sergey Kalinichenko
Sergey Kalinichenko

Reputation: 726809

It's there for historical reasons: it's there since JDK 1.0, while the Java class Arrays where this method logically belongs has not been introduced until Java 1.2 release.

Upvotes: 1

Related Questions