How Would I Go About Printing Text From A Java Program Java Stack

How Would I Go About Printing Text From A Java Program Java Stack