0% found this document useful (0 votes)
11 views

Computer ? Project BlueJ & Java

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Computer ? Project BlueJ & Java

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

NAME

STD/DIV
ROLL NO
COMPUTER PROJECT – UNIT II
TOPIC – PROGRAM CODING
SUBJECT TEACHER –
PROGRAM CODING

• A Computer Program can be defined as a collection of instructions to


perform a specific task.
• The process of writing a program is called Program Coding or Programming.

• A computer can understand language known as programming language.


• Eg. Java, Python, C++, FORTRAN, etc.
INTRODUCING JAVA

• Java is an object-oriented and high-level programming language developed


by James Gosling at Sun Microsystems in 1996.
• It was acquired by Oracle in 2010.
• Java follows the Write Once Run Anywhere (WORA) principle and is thus
platform independent.
FEATURES OF JAVA

• Java has various advanced features such as:


Simple
Case Sensitive
Object-Oriented
Platform Independent
Secure
Robust
OBJECT AND CLASS

• 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

• BlueJ is an IDE which has a built-in editor, debugger, and viewer.


• It is a freely downloadable application.
• https://bluej.org/
INTERFACE OF BLUEJ

• The BlueJ application window has the following components:


Menu bar
New Class Button
Project Icon
Compile Button
Object Bench
CREATING FIRST PROJECT

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

You might also like