1. Purpose
- Creating a Java program using a text editor and a console in linux (Ubuntu Dapper)
- Distinguishing between syntax errors and runtime errors
- Creating a Java program using NetBeans
In this session, we will discuss about how to write, compile and run (run) Java programs. There are 2 ways to do it, the first to use the console and a text editor. While the second way is to use the NetBeans Integrated Development Environment or IDE called. IDE is a piece of equipment that is integrated into the programming software application that supports the construction of a GUI, text or writing the code, compiler and debugger.
This tutorial uses Ubuntu Dapper as the operating system. Before using this tutorial, make sure that you have installed Java and NetBeans in the system you are using. For instructions on how to install Java and NetBeans, can be seen in Appendix A. For a version of Windows XP in this session, can be seen in Appendix B.
Before discussing in more detail, at first we will see the first Java program you write.
3. experiment
experiment 1 Hello World:
Output:
0 comments:
Post a Comment