Computer ? Project BlueJ & Java
Computer ? Project BlueJ & Java
Computer ? Project BlueJ & Java
STD/DIV
ROLL NO
COMPUTER PROJECT – UNIT II
TOPIC – PROGRAM CODING
SUBJECT TEACHER –
PROGRAM CODING
• An object can be defined as a real world entity such as telephone, mouse and
bag.
• A class can be defined as a user-defined blueprint or prototype that is used to
create objects.
INTRODUCING BLUEJ
Step 1 Click on the Project menu from the menu bar. A drop-down list appears.
Step 2 Select the New Project option.
Step 3 Type a name for your project in the Name text box.
Step 4 Click on the OK button.
Step 5 Click on the Edit menu from the menu bar.
Step 6 Select the New Class option from the drop-down list.
Step 7 Type a name for your class in Class Name text box.
Step 8 Select the Class option under the Class Type section to define the section as
COMPILING AND RUNNING A PROGRAM
Step 1 Click on the Compile button located at the top of the code editor window.
If your project is successfully compiled a message Class compiled – no syntax
errors will appear at the bottom of the code editor window.
Step 2 Go to the main window of your project and right-click on the HelloWorld class icon.
Step 3 Select the void main (String args[]) option. The Method Call dialog box will
appear.
Step 4 Click on OK button.
STRUCTURE OF A JAVA PROGRAM
BASIC FUNDAMENTALS OF JAVA
OPERATORS
THANK
YOU