[[+content_image]]
N
N
neverbethesameagain2020-05-31 18:24:39
Java
neverbethesameagain, 2020-05-31 18:24:39

Why are not numbers displayed, but some characters?

Why is it not numbers (3,3) that are displayed at startup, but this one - "

[[email protected]2ff4acd0
[[email protected]2ff4acd0

import java.util.*;
import java.lang.*;
import java.io.*;


class Ideone{
    static void  method1(int ... v){
      for(int x: v){
        System.out.println(v );
      }
    }
    
  
  public static void main (String[] args) {
    method1(3, 3);
  }
}

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
S
Sergey Gornostaev, 2020-05-31
@neverbethesameagain

System.out.println( x );

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question