1 Replies - 168 Views - Last Post: 09 October 2012 - 07:26 AM Rate Topic: -----

#1 Ciaran284  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 09-October 12

Print Statement

Posted 09 October 2012 - 07:25 AM

How do you make a print statement???
Is This A Good Question/Topic? 0
  • +

Replies To: Print Statement

#2 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10387
  • View blog
  • Posts: 38,439
  • Joined: 27-December 08

Re: Print Statement

Posted 09 October 2012 - 07:26 AM

You can use the following methods:
System.out.print()
System.out.println()

System.out.print("Test"); //does not go to a new line
System.out.println("Test");  //ends by going to a new line


Was This Post Helpful? 1
  • +
  • -

Page 1 of 1