JAVA DATA TYPES

public class Main { public static void main(String[] args) { int myNum = 5; float myFloatNum = 5.99f; char myLetter = 'D'; boolean myBool = true; String myText = "Hello"; System.out.println(myNum); System.out.println(myFloatNum); System.out.println(myLetter); System.out.println(myBool); System.out.println(myText); } }

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.