Introduction Java

java introduction

The Java programming language and environment is designed to solve a number of problems in modern programming practice. Java started as a part of a larger project to develop advanced software for consumer electronics. These devices are small, reliable, portable, distributed, real-time embedded systems. When we started the project we intended to use C++, but encountered a number of problems. Initially these were just compiler technology problems, but as time passed more problems emerged that were best solved by changing the language.
What Is Java?
Java is a computer programming language. It enables programmers to write computer instructions using English based commands, instead of having to write in numeric codes. It’s known as a “high-level” language because it can be read and written easily by humans. Like English, Java has a set of rules that determine how the instructions are written. These rules are known as its “syntax”. Once a program has been written, the high-level instructions are translated into numeric codes that computers can understand and execute.

Who Created Java?

In the early nineties, Java was created by a team led by James Gosling for Sun Microsystems. It was originally designed for use on digital mobile devices, such as cell phones. However, when Java 1.0 was released to the public in 1996, its main focus had shifted to use on the Internet. It provided more interactivity with users by giving developers a way to produce animated webpages . Over the years it has evolved as a successful language for use both on and off the Internet. A decade later, it’s still an extremely popular language with over 6.5million developers worldwide.

Why Choose Java?

Java was designed with a few key principles in mind:

  • Easy to Use: The fundamentals of Java came from a programming language called c++. Although c++ is a powerful language, it was felt to be too complex in its syntax, and inadequate for all of Java’s requirements. Java built on, and improved the ideas of c++, to provide a programming language that was powerful and simple to use.
  • Reliability: Java needed to reduce the likelihood of fatal errors from programmer mistakes. With this in mind, object-oriented programming was introduced. Once data and its manipulation were packaged together in one place, it increased Java’s robustness.
  • Secure: As Java was originally targeting mobile devices that would be exchanging data over networks, it was built to include a high level of security. Java is probably the most secure programming language to date.
  • Platform Independent: Programs needed to work regardless of the machine they were being executed on. Java was written to be a portable language that doesn’t care about the operating system or the hardware of the computer.
  • Editor(IDE): Java has many editors.They will help us to handle java GUI  easily.Some the Java IDE examples
  1. Eclipse: This is a very good and open source IDE. It is used a lot commercially and personally. It was made in Java so it’s cross-platform. It has a lot of support for additional plug-ins to extend your developing needs. What I love about Eclipse is that it compiles your code as you type. It highlights compiling errors and mistakes like how MS Word does for mis-spelled words.
  2. Net beans: This is a very good IDE also. It has a built-in GUI Builder for those you like that R.A.D. . It is used a lot commercially too. It was made in Java so it’s cross-platform like Eclipse.
  3. Blue J: This is an IDE developed towards first time Java developers. It teaches you a lot of programming concepts in Java and has a nice UML tool.
  4. J Creator: This is my first Java IDE I used. It is very good and very easy to use. This IDE was made in C++ unlike the ones above, which were all made in Java. Only runs on Windows platform.
  5. Intelligent Java IDEA: Intelligent IDEA is an intelligent Java IDE intensely focused on developer productivity that provides a robust combination of enhanced development tools.
  6. Borland J Builder: This is a great commerial IDE for Java. It does have a price but some developers believe it’s worth it. It also has a built-in Java GUI Builder.
  7. Dr. Java: Dr. Java is a lightweight development environment for writing Java programs. It is designed primarily for students, providing an intuitive interface and the ability to interactively evaluate Java code. It also includes powerful features for more advanced users.

The team at Sun Microsystems were successful in combining these key principles, and Java’s popularity can be traced to it being a robust, secure, easy to use, and portable language.

Where Do I Start?

To start programming in Java, all you need to do is download and install the Java development Kit.

After that do you want to know industry people thoughts about Java

you will go to this link: What Experts Say About The Java Language: Humorous Quotes

Yours

writerbaran

Thank you: Wikipedia

Brief Introduction of Python

Python is a programming language that is freely available and that makes solving aragutech.wordpress.com computer problem almost as easy as writing out one’s thoughts about the solution. It can be written once and run on almost any computer without needing to change the program. In this section, you can get idea more about what Python is, how it is used, and how it compares to other programming languages.

pythonprogramming

Python was conceived in the late 1980s, and its implementation was started in December 1989 by Guido van Rossum at CWI in the Netherlands as a successor to the ABC programming language (itself inspired by SETL) capable of exception handling and interfacing with the Amoeba operating system. Van Rossum is Python’s principal author, and his continuing central role in deciding the direction of Python is reflected in the title given to him by the Python community, Benevolent Dictator for Life (BDFL).

Python 2.0 was released on 16 October 2000, with many major new features including a full garbage collector and support for Unicode. However, the most important change was to the development process itself, with a shift to a more transparent and community-backed process.Python 3.0 (also known as Python 3000 or py3k), a major, backwards-incompatible release, was released on 3 December 2008 after a long period of testing. Many of its major features have been backported to the backwards-compatible Python 2.6 and 2.7.

Python is quickly taking the lead as one of the most popular programming language. You might be skeptical, but Python is growing at a faster rate than any other language. It received TIOBE Programming Language of the Year award twice, once in 2007, and again in 2010. Even now it still has the highest growth of any other language. What makes Python so great?

While statistical analysis always has its flaws, the trends are pretty clear. Java, C#, even PHP are losing popularity, Python, Ruby, Haskell, Ada are gaining popularity, and even Google Trends seems to agree.

Python is an interpreted language, like PHP, Ruby, and Perl. While PHP was very popular throughout the 2000s. Recently PHP and Python have become equally as popular. Now they are neck in neck. Both of them have enough features to be capable of anything. Some subtle differences however, make Python more amazing than PHP.

Python is a general purpose programming language that is able to be used on any modern computer operating system. It may easily be used for processing text, numbers, images, scientific data, or anything else which one might save on a computer. It is used daily in the operations of the Google search engine, the video sharing web site YouTubeNASA , and the New York Stock Exchange & Facebook. These are but a few of the places where Python plays important roles in the success of business, government, and non-profit organisations; there are many others.

Python is also an interpreted High level language. This means that it is not converted to computer-readable code before the program is run but at runtime. In days gone by, this type of language was called a scripting language, intimating its use for trivial or banal tasks. However, programming languages such as Python have forced a change in that nomenclature. Increasingly, large applications are written almost exclusively in Python. As mentioned above, in addition to being used by Google and NASA to complement other languages, Python is used almost exclusively for such applications as YouTube and the web-based transaction system of the New York Stock Exchance (NYSE).

Yours

writerbaran

Programming languages

Programming languages

A programming language is used to write computer programs such as

  • Applications
  • Utilities
  • Servers
  • Systems Programs

Each and every operation in your computer performs has instructions that someone had to write in a programming language. These had to be created, compiled and tested- a long and complex task.

Since the 1950s, computer scientists have devised thousands of programming languages. Many are obscure, perhaps created for a Ph.D. thesis and never heard of since. Others became popular for a while then faded due to lack of support or because they were limited to a particular computer system. Some are variants of existing languages, adding new features like parallelism- the ability to run many parts of a program on different computers in parallel.

These languages include Machine, Assembler, C or C++. Machine Language refers to the “ones and zeroes” that digital processors use as instructions A computer motherboard with the CPU, RAM and ROM), the instructions to boot the computer are limited to a small amount of memory in the boot ROM chip and so are usually written in assembler. Operating systems like Linux or Windows are written in C and C++.

A program is written as a series of human understandable computer instructions that can be read by a compiler and linker, and translated into machine code so that a computer can understand and run it.

Then see the real meaning of programming languages: A vocabulary and set of grammatical rules for instructing a computer to perform specific tasks.

The term programming language usually refers to high-level languages, such as BASIC, C, C++, COBOL, , Java and Pascal. Each language has a unique set of keywords (words that it understands) and a special syntax for organizing program instructions.

High-level programming languages, while simple compared to human languages, are more complex than the languages the computer actually understands, called machine languages. Each different type of CPU has its own unique machine language.

Lying between machine languages and high-level languages are languages called assembly languages. Assembly languages are similar to machine languages, but they are much easier to program in because they allow a programmer to substitute names for numbers. Machine languages consist of numbers only.

Lying above high-level languages are languages called fourth-generation languages (usually abbreviated 4GL). 4GLs are far removed from machine languages and represent the class of computer languages closest to human languages.

Regardless of what language you use, you eventually need to convert your program into machine language so that the computer can understand it.

There are two ways to do this:

  • compile the program
  • interpret the program

See difference between about these two methods compile and interpreter.

An Interpreted language is processed at runtime. Every line is read, analyzed, and executed. Having to reprocess a line every time in a loop is what makes interpreted languages so slow. This overhead means that interpreted code runs between 5 – 10 times slower than compiled code. The interpreted languages like Basic or JavaScript are the slowest. Their advantage does not need to be recompiled after changes and that is handy when you’re learning to program.

Because compiled programs almost always run faster than interpreted, languages such as C and C++ tend to be the most popular for writing games. Java and C# both compile to an interpreted language which is very efficient. Because the Virtual Machine that interprets Java and the .NET framework that runs C# are heavily optimized, it’s claimed that applications in those languages are as fast if not faster as compiled C++.

Then see the best language to program a best program.

The question of which language is best is one that consumes a lot of time and energy among computer professionals. Every language has its strengths and weaknesses. For example, FORTRAN is a particularly good language for processing numerical data, but it does not lend itself very well to organizing large programs. Pascal is very good for writing well-structured and readable programs, but it is not as flexible as the C programming language. C++ embodies powerful object-oriented features, but it is complex and difficult to learn.

The choice of which language to use depends on the type of computer the program is to run on, what sort of program it is, and the expertise of the programmer.

Visit the below sites and get more knowledge in programming languages

Best First Programming language

There are a lot of languages available in the programming field. I had a simple basic knowledge in some popular languages. So today I write a small article about Best First Programming language study easily.

C++ is fairly difficult as well, however, it does teach good discipline.

Java is about the same as C++ but it is completely Object Oriented, which is a very good skill to develop.

C# is a combination of C++ and Java but it the IDE makes it very easy to use.

Visual Basic .NET is basically C# using Visual Basic syntax…I don’t recommend it at all, if you are going to learn a .NET language, first you should learn C#.

Visual Basic 6.0 is probably the easiest language to learn, especially if you are coming from a batch background, but most VB programmers (those who learned VB as their first language) are much undisciplined and often ridiculed for their lack of sophistication/elegance.

So, for a batch programmer, C might be the best starting point then. C is a little cryptic, but very powerful. You can develop similarly to batch programming. And if you want to learn C++ and OOP, you will have a basic understanding of the C language foundation (which will allow you to learn Java and C# very quickly as well)

Python is a programming language that is freely available and that makes solving a computer problem almost as easy as writing out one’s thoughts about the solution. Python is an interpreter, general-purpose high-level programming language. Python is easiest language to learn. It has very familiar GUI& its editor you can live with and familiarize you with the basics of Python programming.

Now with that being said, if you want to learn programming language in my view, and you want to start with Python. You can live with and familiarize yourself with the basics of Python programming.

“Proper programming form depends on the programmer not on the language.”

 Which language you need to start with is dependent on what you want to do. If you don’t know what you want to do, start with a popular, object-oriented, well-rounded language like C++, Java, C#, C and VB.NET. But, if you’re not interested in doing low-level work o rgame programming, then DON’T WASTE YOUR TIME with C++, Java, C#,C and VB.NET,you Should learn VB, Python & Perl.

But then, it all depends on your objectives. Write a program that complies with all the rules of programming or to write a program that achieves a particular objective in the shortest time possible.

First programming language is essence of circumstances of objectives, available time period to study that language & your basic computer knowledge.

writerbaran