Computer 💻 Project Learn how to use BlueJ and more about java

savemymumbaiindia 19 views 13 slides Jul 12, 2024
Slide 1
Slide 1 of 13
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13

About This Presentation

description of java and how to use bluej


Slide Content

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 b y 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 class. Step 9 Click on the OK button to create the class.

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