JAVA AND FETURES
NAME: HIMAJA RAVI
ID NO: 3868705
Prof. Nicholas Rosasco
COURSE: IT-500
DATE: 09-11-2014
HISTORY OF JAVA:
Java is a simple object oriented computer programming language. Java is developed by James Gosling at sun Microsystems. At first java is called as “OAK” after it is named as “Green” later on it is named as java. Java is similar to C/C++ style. It is popular for “Write once, Run Anywhere” (WORA). It released in 1995 as “Java 1.0”. Unlike C and C++, Java can run in any operating system or in any computer. Java allowed accessibility to network also. We can use java applets for web pages which increased the popularity of java. Java programs take more memory than C++ programs, but java programs
…show more content…
Java has garbage collection. It is nothing but it creates an automatic memory. When compare to C++, java is easy to build and less complicated. Full build in C++ might take up to 20 hours, while in java it takes seven minutes. C++ don’t have binary standard, but java have binary standard. Java is a general purpose programming language, but C++ is designed for systems and application programs.
Features:
Object Oriented: Java is a pure object oriented programming language where C++ is semi oriented. Basic concepts of object oriented program are object, class, inheritance, polymorphism, abstraction and encapsulation.
Data Types: We can use many data types like Boolean, char, byte, int, short, float, long, double.
Memory Management: We can allocate memory for new objects. Objects that are not are in use will be removed from the garbage collection by the garbage collector.
Multithreading: Java allows multiple threads to run and execute at a time. By using “Thread” class the method will start, run and stop.
Simple: The java is simple and easy to understand. It is similar to C and C++. It contains no “goto” statement but we can use “break” and “continue”. It don’t have any header files. Java don’t contain any structures, unions, functions.
Interpreted:
When java code is compiled, it is converted into java byte code which is executed by java virtual machine. JVM is not physically existed but it is a hypothetical processor that can run java code. Then it is send to
Java was designed at the Sun Microsystems in 1992 by James Gosling and the Green Team, these individuals designed an operating system with an independent processor, object oriented programming language which is the leading interactive environment used on the web. This open source software are used on a variety of devices, music players, automobiles, cells, and smart phones. Java has changed the computer environment because the developers designed it to operate on any computing devices regardless of the specific microprocessor or the operating system it is installed on (Laudon, 2014).
Now, we will look into what Object Oriented Programming is. Before that we must first understand what an object is, because that is what the entire programming method is based on. An object is something which has a defined state and characteristics of its own. This concept was taken from the real world scenario, where each object we see has those two states. An example would be a cup, it has a height, it has a purpose and it has a specific volume which it can hold. The shape of the cup can also be taken into consideration. In software programming, the object is worked upon by use of methods. The methods are what help two or multiple objects communicate with each other (“Object Oriented Programming”). Thus we can now say, Object oriented programming works on “objects” instead of working directly on the actions as in case of Procedural programming. Although, indirectly we are working on their actions because that is what makes the entire program work. Objects once defined can be used infinite times in a program and we do not have to define them. Thus, object oriented programming focusses more on getting the logic of the program right instead of spending several lines of code trying to get the data definitions right. The most commonly used Object oriented programming languages are Java, C#, PHP and Visual basic designed for .NET framework. An example of PHP object oriented programming would help us understand the actual programming
Programming languages are vast and diverse in their numbers. These different languages use fundamental styles of programming called programming paradigms. These programming paradigms layout the particular design approach that a program will use to solve a problem or achieve an objective. Of the many different types of programming paradigms, some of the more distinguished ones are procedural, functional, logical, and object orientated programming. Recently the object orientated languages have been rising in popularity due to their ability to easily implement large programs. There are many different object orientated programming languages (OOPLs), among them are C#, Java, Ruby, and Python. This essay will compare and contrast two of these languages: Python and Java.
Language programming language evolved to communicate design diet tips machines, in particular computer. Programming languages may be used to create programs for controlling the behavior of the machine or to express algorithms. Over thousands of different programming languages in the field of information and more are created every year has been established, in particular. Vocabulary and grammar proposal to instruct the computer to perform certain tasks. Firstly, we have to know what is programming language? The term usually refers to programming languages, such as high BASIC, C, C ++, COBOL, FORTRAN, Ada and Pascal. Every language has a unique set of keywords (words that are used) and a special syntax for organizing the program instructions. Some languages are defined in the specification (e.g., the C programming language defined ISO), while other languages (such as Perl) dominant application is considered as a reference.
Different programming languages have been developed for many different reasons. A "programming language" is a language designed to designate a set of actions to be executed by a computer. A programming language is therefore a practical way of giving instructions to a computer to operate. Programs are created to control the behavior of a machine.
The major difference between the two main programming styles in use today is the ____.
In 1998 Java has evolved dramatically and it became called Java 2. Also among the most important developments that have been developed in this version its Java capabilities in the graphical interface. As well there have been many developments in this language which still continuously developed. And the aims of Java are: Object-oriented, It provides possibility of running programs written by it as remote computers securely, Create programs with graphical user interface and Software design benefit from all the advantages of the Internet. Java has evolved through the years and it used to making library programs like: Internet Software, Internet pages, Mobile Applications and many
An OOP language can use a group of objects that will send message when they are called for a request for a specific service or information. Objects is able to pass or receive messages or process information in the form of data. The reason we use OOP is that it makes maintaining code easier and faster to change and modify existing code. That mean we cut down on development time and changing the programme much easier. Also Object-Orientated Programming is more efficient at memory management, and thus makes it more effective towards Procedural, where you must manage your own memory usage.
C++ is a very fast and well built language. The focus of this language is, building code that will run on a specific machine
Object-oriented programming language is a high-level programming language based on the object. Data hiding, Inheritance, and polymorphism such basic features of this programming languages. this method is not used for computer programming Until the early 1990s. But, mostly use this language for modern computer programming.
Very soon java became popular in the software community, which resulted in more and more companies building their line of products in Java.
“An arrayList is a dynamic array. The back of the arrayList can grow as new elements are added.” (Ford & Topp). You can think of an arrayList as an improvement to using standard arrays, this is because arrays cannot increase or decrease in size as it stores elements in a fixed-length block, which means the sizes stays the same once the program is executed. On the other hand, an arrayList allows the addition or subtraction of its sequence using either the add() or remove() methods. Similarly, arrayLists occupy a contagious block of memory which has all existing elements already stored on it and extra space for additional elements to be added. Once the additional space is all used up the add() operation creates a new block of memory to store
Java is a programming language originally developed by James Gosling at Sun Microsystems (which is now a subsidiary of Oracle Corporation) and released in 1995 as a core component of Sun Microsystems ' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities.
There are many concepts in the design and implementation of the Java programming language. Six of the many concepts are the final reserved word, permanent generation in the Java Virtual Machine, the functions of the intern() class, dynamic scoping using shallow access, dynamic scoping using deep access and the implementation of the concept of passing a method as a parameter in Java. These concepts have various effects on Java programming. From improving performance of a program to preventing variable value changing, these six concepts are all helpful in their own way to the Java programming language. Along with the implementation of these concepts in Java, similar concepts in other programming languages will also be looked at.
Programming languages are a set of instructions or grammatical rules, which are used to make applications and software on computers (Beal). There are many programming languages, which are used extensively in modern day computer science, some of which are C++, Python, HTML, FORTRAN, Ruby and Pascal. They were initially created by computer scientists to simplify calculations and to perform repetitive tasks with ease. These languages are one of the core components of a computer and they facilitate the creation and functioning of complicated applications and softwares.