include::../description.adoc[]

Instead, you should pass the array to the relevant static ``++Arrays++`` method.


== Noncompliant Code Example

----
public static void main( String[] args ) {
    String argStr = args.toString(); // Noncompliant
    int argHash = args.hashCode(); // Noncompliant
----


== Compliant Solution

----
public static void main( String[] args ) {
    String argStr = Arrays.toString(args);
    int argHash = Arrays.hashCode(args);
----



ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)

include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]
