read.cash Log in
@Valryan14

Basic knowledge in Java for starters. In today's generation, the smartphone and internet have become one of the most important part of our lives. We use our phone for almost every time in our daily tasks. Earlier, we used to shop at malls, queue up in front of banks and make a travel bookings at travel agency. But now we can do all of this things in our home using our smartphone. All of this are possible because of the high-level programming called **Java**.

https://www.google.com/search?q=james+gosling&client=ms-android-xiaomi-rev1&prmd=inv&sxsrf=ALeKk03CEy3kCD5TAzb85-IMSm7X1raP_g:1602399290056&source=lnms&tbm=isch&sa=X&ved=2ahUKEwigg-PD-qvsAhUPO3AKHZVBCQIQ_AUoAXoECCIQAQ&biw=360&bih=616#imgrc=IGr02WiSN0mKaM **What is Java?** **Java** is an object-oriented programming language that is used in a distributed environment on the internet. It is a high-level language that is easy to  read and understand. **Uses of Java Programming** It is popularly used in console, GUI, web, mobile application, game development and also to make embedded systems. Apart from these, Java is also used to develop software for devices. It is use not only in computers and mobiles, but even in electronic devices like  televisions, washing machines, air conditioners and so on. Online forms, banking and shopping are possible because of Java. Java is a computer-base programming language invented by **James Gosling**

https://www.google.com/search?q=james+gosling&client=ms-android-xiaomi-rev1&prmd=inv&sxsrf=ALeKk03CEy3kCD5TAzb85-IMSm7X1raP_g:1602399290056&source=lnms&tbm=isch&sa=X&ved=2ahUKEwigg-PD-qvsAhUPO3AKHZVBCQIQ_AUoAXoECCIQAQ&biw=360&bih=616#imgrc=IGr02WiSN0mKaM and **Sun Microsystems** in 1991.

https://www.google.com/search?q=sun+microsystems&client=ms-android-xiaomi-rev1&prmd=insv&sxsrf=ALeKk01szW_CCCJURHF-tEyYE9tIN9bcXg:1602399455231&source=lnms&tbm=isch&sa=X&ved=2ahUKEwjZtsSS-6vsAhXOA4gKHXyIDOwQ_AUoAXoECCUQAQ&biw=360&bih=560&dpr=2#imgrc=ViMINhLqKhJn7M He had a single motto while creating the language, it was "***Write once, run anywhere***." This meant that the code would have to be written only once but could be used anywhere. They name this language "***Oak***" because of the oak tree outside their office. Later they changed it to Green, then Java Coffee then finally to Java in 1995. **There are 3 editions of Java.** Each programmer can learn any of these editions based on the application they want to make. **Java Standard Edition** This contains core libraries like java.lang, java.util etc. **Java Enterprise Edition** This edition has APIs like JMS, EJB, JSPs, Sevlets, etc. **Java Micro Edition** Edition used to program Java in cellphone, set-top boxes, handhelds and so on. Java is based in **C** and **C++ language**. However, it is improved and simplified to solve the errors in programming. *Java files are converted to bit code format using a compiler and then executed by the Java interpreter.* *The whole Java code is run on the Java virtual machine which provide a runtime environment.* **The main concepts of Java are its methods and classes**. **Methods** are a block of code that perform a task only when it is called. *Example* : Changing channels in a Television using the remote buttons. **Classes** are used to organise codes just like how fruits, vegetables and other products are divided into different sections in a market. **There are lot of features in Java.** It has simple syntax and very easy to understand. Java is robust. It eliminates errors that occurs in C and C++ languages. It has garbage collector and exception handling. The most popular feature in Java is that it is platform independent. Java can run on  any machine. It is a very secure language as it contains no virus. It has multi-threading - this feature helps Java to do multitasking. It is a portable language as it can run on any platform and data type sizes are set permanently so Java program has a fixed size of the code. Lastly, Java is not as fast as C and C++, but provide higher performance than any other languages. **Java has 4 concepts.** **Abstraction** Showing relevant information that is  needed for a task. **Encapsulation** Makes the Java code secured by storing data inside the Classes. **Inheritance** This means that the attributes and characteristics of one class can be inherited by another classes and this make coders take less time to create a  code. **Polymorphism** • This mean that **t**he same method can be used in different tasks. This concepts makes Java very Unique. If ever you plan on studying about programming or taking a course in Computer Science as it is essential and on demand for today's technology, this article will be very helpful for you to get started. Make sure and please leave a like and subscribe if you find this helpful. Thank you! ❤️ **Images sources:** *Java Image* https://www.google.com/search?q=james+gosling&client=ms-android-xiaomi-rev1&prmd=inv&sxsrf=ALeKk03CEy3kCD5TAzb85-IMSm7X1raP_g:1602399290056&source=lnms&tbm=isch&sa=X&ved=2ahUKEwigg-PD-qvsAhUPO3AKHZVBCQIQ_AUoAXoECCIQAQ&biw=360&bih=616#imgrc=IGr02WiSN0mKaM *James Gosling* https://www.google.com/search?q=james+gosling&client=ms-android-xiaomi-rev1&prmd=inv&sxsrf=ALeKk03CEy3kCD5TAzb85-IMSm7X1raP_g:1602399290056&source=lnms&tbm=isch&sa=X&ved=2ahUKEwigg-PD-qvsAhUPO3AKHZVBCQIQ_AUoAXoECCIQAQ&biw=360&bih=616#imgrc=IGr02WiSN0mKaM *Sun Microsystems* https://www.google.com/search?q=sun+microsystems&client=ms-android-xiaomi-rev1&prmd=insv&sxsrf=ALeKk01szW_CCCJURHF-tEyYE9tIN9bcXg:1602399455231&source=lnms&tbm=isch&sa=X&ved=2ahUKEwjZtsSS-6vsAhXOA4gKHXyIDOwQ_AUoAXoECCUQAQ&biw=360&bih=560&dpr=2#imgrc=ViMINhLqKhJn7M

17 comments

Log in to join in Reading is open to everyone. Replying needs an account.