Skip to content

Instantly share code, notes, and snippets.

@CopyAndPasteHub
Last active May 30, 2016 02:40
Show Gist options
  • Select an option

  • Save CopyAndPasteHub/a6f0790d1a11ba805d9f469da6640f49 to your computer and use it in GitHub Desktop.

Select an option

Save CopyAndPasteHub/a6f0790d1a11ba805d9f469da6640f49 to your computer and use it in GitHub Desktop.
Print text on screen - Copy And Paste It !
/**
*
* @author copyandpaste.website
*/
//JFB means Java for Beginners series
/**
* Class printing some text in console
*/
public class JFB02 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// Here we type our method (function) to print out our text in the console
// If you want print text you should use method System.out.println("");
// --------> Copy And Paste It! <--------
//Print a line of text in console
System.out.println("Text");
// --------------------------------------
//Don't forget about semicolon on the end! ;)
//Now you can run program (click Run Project)
}
}
@CopyAndPasteHub
Copy link
Author

Support with likes! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment