__________________________
•Its history
•What is it?
•Its functions..
•Oop Concept.
__________________________
✔️Spammers will be reported
Answers
A lot of people today might take for granted the impact Java has had, not just on computing, but on the day-to-day lives of non-programming folk.
Java is on our smartphones, powering Android devices and millions of apps. It reads our credit and debit cards at shop tills and pings financial information between businesses and our banks. It allows us to play games, such as Minecraft, across multiple devices, creating an infinite sandbox of creative opportunities.
Basically, Java is all around us, but that wasn’t always the case; it actually had very humble beginnings.
It all started in 1990, when Sun Microsystems engineer Patrick Naughton became increasingly annoyed with the state of Sun’s C++ and C APIs and was given the opportunity to create an alternative language as part of The Stealth Project.
The Stealth Project soon changed to the Green Project, with Mike Sheridan and James Gosling joining the ranks, and the group began developing new technology for programming next-generation smart appliances.
Initial ideas revolved around combining Mesa and C and producing an object-orientated environment in C++.
They decided to rule out C++ because it needed too much memory and because its complexity led to developer errors; the lack of garbage collection was resulting in programmers having to manually manage system memory, which often resulted in mistakes. They also wanted a platform that would port easily to all types of devices.
Gosling attempted to modify and extend C++ (a development he refers to as "C++ ++ --"), but quickly abandoned this approach in favor of creating an entirely new language which he called Oak, named after the tree that stood outside his office.
The new language took 18 months to finish. By the fall of 1992, the team was able to present their first demonstration where they built a personal digital assistant called Star7, which had a graphical interface to assist the user. It also featured a smart agent called “Duke,” who would later go on to become the mascot of Java
history of java: Java, having been developed in 1991, is a relatively new programming language. At that time, James Gosling from Sun Microsystems and his team began designing the first version of Java aimed at programming home appliances which are controlled by a wide variety of computer processors.
Gosling's new language needed to be accessible by a variety of computer processors. In 1994, he realized that such a language would be ideal for use with web browsers and Java's connection to the internet began. In 1995, Netscape Incorporated released its latest version of the Netscape browser which was capable of running Java programs.
Why is it called Java? It is customary for the creator of a programming language to name the language anything he/she chooses. The original name of this language was Oak, until it was discovered that a programming language already existed that was named Oak. As the story goes, after many hours of trying to come up with a new name, the development team went out for coffee and the name Java was born.
While Java is viewed as a programming language to design applications for the Internet, it is in reality a general all purpose language which can be used independent of the Internet.
functions and oop concepts: abstract,inheritence,polymorphism,encapsulation
Abstraction is a process of hiding the implementation details from the user. Оnly the functionality will be provided to the user.
Inheritance is a mechanism wherein a new class is derived from an existing class. In Java, classes may inherit or acquire the properties and methods of other classes. A class derived from another class is called a subclass, whereas the class from which a subclass is derived is called a superclass.
Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. Any Java object that can pass more than one IS-A test is considered to be polymorphic.
Encapsulation is one of the four fundamental OOP concepts. The other three are inheritance, polymorphism, and abstraction. Encapsulation in Java is a mechanism of wrapping the data (variables) and code acting on the data (methods) together as a single unit.