My.Blog

My.Blog

This page will help you to clear basics of java using BlueJ.

06/09/2018

Our aim:- To help beginners
------ Waiting for contents -----

01/04/2018

//How to create an object of a class:

class Base{ // Base is a class name
int num = 5; // Class Variable

public static void main(String[] args){ //Main function

Base obj = new Base(); //Creation of object of Base class

System.out.print(obj.num); //Priting class variable's vlaue
}
}

----- output -----
5

01/04/2018

//Adding two numbers; (find error in this program)
class Add{
public static void main(String[] args){
int num1 = 19;
int num2 = 32;
int sum;
sum = num1 + num2;
System.out.print("\u000C");
System.out.print(sum);
}
}

------- output ------

73

01/04/2018

-------- Find error (Is progrm mein kya galti h) ---------

//Adding two numbers;
class Add{

public static void main(String[] args){
int num1 = 19;
int num2 = 32;
int sum;
sum = num1 + num2;
System.out.print("\u000C");
System.out.print(sum);
}
}

--- output --
73

25/03/2018

Friends this is new page I want to give you basics of java using BlueJ IDE.
You may also see some videos on blueJ on my this page.
How to watch videos:
1) Click on YouTube to the left side.
2) Click on Watch Video button on top-right.
If you like our videos then subscribe our youtube channel.
----- Thanks ---

21/03/2018

//Print integer value and String:

class Person
{
public static void main(String args[])
{
int x=4;
System.out.print("\u000C"); //Clear the screen
System.out.println("x ="+x); //Printing value of x
System.out.println("My Name"); //Printing string
}
}

-------- Output ---------
x=4
My Name

Photos from My.Blog's post 20/03/2018

BlueJ:

20/03/2018

About BlueJ
Overview:-
BlueJ is a development environment that allows you to develop Java programs quickly and easily. Its main features are that it is:

Simple BlueJ has a deliberately smaller and simpler interface than professional environments like NetBeans or Eclipse. This allows beginners to get started more quickly, and without being overwhelmed.
Designed for teaching BlueJ is deliberately designed with good pedagogy in mind. There is a popular textbook designed for teaching introductory university/college courses with BlueJ, and a site full of teaching resources.
Interactive BlueJ allows you to interact with objects. You can inspect their value, call methods on them, pass them as parameters and more. You can also directly invoke Java expressions without compiling. Thus BlueJ is a powerful graphical shell/REPL for Java.
Portable BlueJ runs on Windows, Mac OS X, Linux and other platforms which run Java. It can also run without installation from a USB stick.
Mature BlueJ is over fifteen years old, but continues to be updated and supported by a full-time team. We aim to respond to all technical support requests within one working day.
Innovative BlueJ has several features not seen before in other IDEs. Its object bench, code pad, and scope colouring were all original BlueJ features.

20/03/2018

Features of bluej:-
Its main features are that it is:

* Simple BlueJ has a deliberately smaller and simpler interface than professional environments like NetBeans or Eclipse. ...
* Designed for teaching BlueJ is deliberately designed with good pedagogy in mind. ...
* Interactive BlueJ allows you to interact with objects.

20/03/2018

What is meant by JDK?
The Java Development Kit (JDK) is a software development environment used for developing Java applications and applets. It includes the Java Runtime Environment (JRE), an interpreter/loader (java), a compiler (javac), an archiver (jar), a documentation generator (javadoc) and other tools needed in Java development.

20/03/2018

How do I use Bluej?
Writing Java Programs using BlueJ
1.Create a folder/directory using Microsoft Explorer. ...
2. Invoke BlueJ. ...
3.Create a new project. ...
4.Create a new class. ...
5. Open the editor for the class. ...
6.Modify the code for the class. ...
7. Compile the class. ...
8.Run the application.

20/03/2018

What is Blue Java programs?
BlueJ is a development environment that allows you to develop Java programs quickly and easily. Its main features are that it is: Simple BlueJ has a deliberately smaller and simpler interface than professional environments like NetBeans or Eclipse.

20/03/2018

How do you run a program in BlueJ?
Execute a Java program in BlueJ:
Right click on the program file in BlueJ's main window, and then.
Left click on the void main(String[]args) tab:
A window will pop up: Left click on OK to run the program. Result: the output of the program is shown in BlueJ's "terminal" window:

20/03/2018

Adapted from the BlueJ homepage.

1.STOP. ...
2.Download the appropriate version of Bluej. ...
3.After you have downloaded the proper file run it. ...
4.The BlueJ Installer will open.
5.Run through the steps of the installer.
6. When the installer has finished check that BlueJ has been installed correctly by running it.

20/03/2018

What is the use of BlueJ?
BlueJ is an integrated development environment (IDE) for the Java programming language, developed mainly for educational purposes, but also suitable for small-scale software development. It runs with the help of JDK (Java Development Kit).

Want your school to be the top-listed School/college?