Hi,
I am beginner in programming with java .. I have a silly question and I hope you help me!
how to print an integer array contents without leaving new line after each digit because this happens when I use System.out.println..
I am sorry for disturbing you..

Recommended Answers

All 3 Replies

use this:

System.out.print();

Just leave off the ln, in println.

Thankkkkkkkkk you very much.. :)

No problem; glad I could help! :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.