Wednesday, August 1, 2018

HOW TO MAKE A PROGRAM USING BLUEJ


Firstly you should have to install BlueJ in your computer or laptop to make and compile a java program. So if u haven't install BlueJ yet then Click here and know the method that how to download and install the BlueJ.

Coming back to our topic, today we will learn about how to make "HELLO WORLD" program using BlueJ step by step. In my opinion this is the simplest one.

Step 1 : Open BlueJ application.
Step 2 : Create your new project.
              If you don't know how to create a project then Click here.
Step 3 : Then select the project from its destination.



Step 4 : Create new class by clicking on 'New Class'.
Step 5 : Then enter class name i.e. 'HelloWorld' and click OK button.


Step 6 : Now open HelloWorld class by double clicking on it and delete all the default commands.


Step 7 : Write a program now. The program that is needed to be written is given below:


Step 8 : Click on Compile. If there is no error then it should be compiled showing "no syntax error".
Step 9 : Close this window and right click on the HelloWorld class and click on void main(String []args) and then OK button.


Step 10 : You will find the result page as shown below;



How to start BlueJ:


Step 1 : First, double click the BlueJ icon which is on the desktop to obtain the following startup along with the version.
Step 2 : The opening screen comes as shown below.


Step 3 : The first menu item 'Project' , is a directory which contains the required files. It is required to create a directory through 'New Project' option.
Now, select New Project and click. The opening screen appears as follows.



Step 4 : A project/directory is created after writing the name in front of the space provided File name and click 'Create'.
The next screen appears on the main screen where Project icon is present on it.
Step 5 : Click 'Project' and then click 'New Class' . A window screen appears as follows where you write class name (say ITSeries)  and click OK.


Step 6 : A new window screen appears with the folder named ITSeries.


Step 7 : Now, just double click the folder ITSeries to open the class ITSeries. A sample structure of the class appears on the screen.
Step 8 : Select and delete the sample structure.


Now, start writing your program as illustrated below:


Compile the program, which displays the message:
Class compiled- no syntax errors (if no error), otherwise debug and recompile the program unless it is error free.

Tuesday, July 31, 2018

Introduction to BlueJ and JDK:


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 computer (javac), an archiever (jar), a documentation generator (javadoc) and other tools needed in Java development.

  1. How to download JDK software:         
  • Open any browser in your system like Google Chrome.
  • Enter the following link given below;
    www.oracle.com/technetwork/java/javase/downloads/index.html
  • Download the latest version of JDK software using this link.

BLUEJ:- BlueJ is a free Java environment from Monash University, Australia. It is a window based platform for Java Development Kit (JDK). It is necessary to install JDK before installing BlueJ.

  1. How to download BlueJ software:
  • Open Google Chrome in your laptop or computer.
  • Enter the following link given below;
https://www.bluej.org/
  • Download the latest version of BlueJ software using this link.


Tuesday, July 24, 2018

JAVA


Java is both a programming language and a platform. Like any other programming language, you can use Java to write or create various types of computer applications. Thus, Java fits the definition of a programming language. Java is also a platform for application development. The world platform generally is used to refer to some combination of hardware and system software e.g., operating system Windows Vista or Intel Pentium V or Windows NT or DEC or the latest versions of Windows or Linux operating system like Windows 7, 8, 8.1 and even Windows 10. The Java Platform is a new software platform different from many other platforms ; it is designed to deliver and run highly interactive , dynamic and secure applications on networked computer systems. We are not going into further details of Java platform as it is beyond the scope of this book.

HISTORY OF JAVA


Do you know that Java was not developed keeping in mind the World Wide Web? Originally, Java started as an elite project (code named Green) to find a way of allowing different electronic devices such as TV-top boxes and controllers to use a common language. This language for electronic devices was originally named Oak but failed a niche despite its potential. In the following lines, the history of Java can be found out in the Java timeline :



Programming Language and its Applications


programming language is a formal language which comprises a set of instructions used to produce various kinds of output. Programming languages are used to create programs that implement specific algorithms.
Thousands of different programming languages have been created, mainly in the computer field, and many more still are being created every year. Many programming languages require computation to be specified in an imperative form (i.e., as a sequence of operations to perform) while other languages use other forms of program specification such as the declarative form (i.e. the desired result is specified, not how to achieve it).


Programmers use programming languages to communicate with computers. Many different languages exist, and each one has its own unique features, though they all share some similarities. Because each language is different, each may be best suited for a certain purpose or purposes within certain industries. Some programming languages are used to create programs to solve problems or interpret data. Other programming languages are more suitable for making create software or apps that entertain. With a strong need for unique and diverse programming languages, it is virtually impossible to create a single universal programming language that meets all needs. Programming languages are often revised and even combined with other languages over time, evolving to meet our changing technological needs.

PROLOGUE





Hello guys, I'm Raghvendra Singh and this is my personal blog. Here you can find everything about programming languages like Java, C language, C++, Python and many more. All your problems will be solved and for doubts you can contact me at my email id and I will clear your doubts as soon as possible.

Email: raghvendrasingh0898@gmail.com
Date: 24th July, 2018