0% found this document useful (0 votes)
19 views2 pages

Project Computer

gggg

Uploaded by

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

Project Computer

gggg

Uploaded by

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

PROJECT COMPUTER

BlueJ and Java BlueJ is an integrated development environment (IDE)


designed for beginners learning Java1. It was developed by the University of
Kent and Deakin University to teach object orientation in a Java development
environment2. Java, on the other hand, is a general-purpose, robust, secure,
and object-oriented programming language3. It was developed by Sun
Microsystems in 1995 and is now maintained and distributed by Oracle 3.
Advantages of Java

1. Simple: Java is easy to learn and understand. Its syntax is based on C++,
and it uses automatic garbage collection3.
2. Object-Oriented: Java uses an object-oriented paradigm, making it more
practical3.
3. Secured: Java doesn’t use explicit pointers and runs inside the virtual
machine sandbox, making it a secure programming language 3.
4. Robust: Java uses strong memory management and type checking to make
the code more secure3.
5. Platform Independent: Java code can run on multiple platforms directly 3.

Disadvantages of Java

1. Performance: Java needs to be interpreted during runtime, which makes it


perform slower than languages like C and C++ 3.
2. Memory Consumption: Java program consumes more memory since it runs
on top of Java virtual machine3.
3. Cost: Java programming language is a bit costly due to its higher processing
and memory requirements3.
4. Less Machine Interactive: Java lacks when it comes to interacting directly
with machines3.
5. Lack of Multiple Inheritance: Java does not support multiple inheritance 4.

Java Commands Here are some commonly used Java commands:

1. java - This command is used to launch a Java application.


2. javac - This command compiles Java source files into bytecode.
3. jar - This command is used to create and manage Java Archive (JAR) files.
4. javadoc - This command generates API documentation in HTML format from
Java source code.
5. jdb - This command is used for debugging Java programs.

Sample Java Program Here’s a simple Java program that prints “Hello,
World!” to the console:
Java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
This program defines a class named HelloWorld. Inside this class,
the main method is defined. This is the entry point for any Java program.
The System.out.println command is used to print the string “Hello, World!” to
the console.

Blue J manufacturer

Java is a high-level, class-based, object-oriented programming language that


is designed to have as few implementation dependencies as possible 1. It was
originally developed by James Gosling at Sun Microsystems and released in
May 19951. The language allows programmers to write once, run anywhere
(WORA), meaning that compiled Java code can run on all platforms that
support Java without the need to recompile1. As of September 2023, Java 21
is the latest version1.

BlueJ is an integrated development environment (IDE) for the Java


programming language, developed mainly for educational purposes 2. It was
started in 1999 by Michael Kölling and John Rosenberg at Monash
University2. BlueJ was designed to support the learning and teaching of
object-oriented programming2. It runs with the help of Java Development Kit
(JDK)2. The development of BlueJ is currently being maintained by a team at
King’s College London, England2.

You might also like