Data Types
Data types are provided to store various types of data that is processed in real life. A data type can be
C:\mywork.
Using Notepad or another text editor,
create a small Java file HelloWorld.java with the following text:
public class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hello, World!");
}
}
Save your file as HelloWorld.java in
C:\mywork.
To make sure your file name is