Basic knowledge in Java for starters.

36 67
Avatar for Valryan14
4 years ago

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.

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

and Sun Microsystems in 1991.


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 the 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

11
$ 6.88
$ 6.88 from @TheRandomRewarder
Sponsors of Valryan14
empty
empty
empty
Avatar for Valryan14
4 years ago

Comments

I.T student or graduate? 🙈😲

$ 0.00
4 years ago

Former computer engineering studs lang 😂

$ 0.00
4 years ago

Hehe. Kaya pala. IT grad ko, pero walay hanaw sa programming. 🤣

$ 0.00
4 years ago

Hirap naman talaga kasi ng programming 😂 hahaha

$ 0.00
4 years ago

Sobra. Nagsisi nga ako bakit IT pinili ko 😆

$ 0.00
4 years ago

Mas magsisisi ka pag pinili mo siya pero iba pinili niya 😂

$ 0.00
4 years ago

Yun oooh 🙈💔 di ko inasahan na reply yan. Haha

$ 0.00
4 years ago

Hahaha di nakailag 😂

$ 0.00
4 years ago

Cool

$ 0.00
User's avatar Yer
4 years ago

Yeah thanks, hope it helps

$ 0.00
4 years ago

Nice article

$ 0.00
4 years ago

Thank you. Hope you learn on trading.

$ 0.00
4 years ago

Great article. It's probably the most widely used programming language in the world.

$ 0.00
4 years ago

It is bro. It is used to make of what we are using now

$ 0.00
4 years ago

I don't think this application read cash is built on Java but it is used in many other applications in the world.

$ 0.00
4 years ago

Without Java, creating this site won't be possible. :)

$ 0.00
4 years ago

Why do you think so?

$ 0.00
4 years ago

Because all(if not most of it) of our technologies this moment is made and program in Java.

$ 0.00
4 years ago

My friend, if you mean Javascript you are right but not Java.

$ 0.00
4 years ago

I really mean the Java script.

$ 0.00
4 years ago

Hahahah oh ny, sorry. My mistake 😂

$ 0.00
4 years ago

Bro I tried to learn java... found it extremely hard..😅

$ 0.00
4 years ago

As for starters it will really be hard 😂 just focus on it bro and it will be worthy when you have leant it.

$ 0.00
4 years ago

Indeed... I guess I just have to be more patient...😇

$ 0.00
4 years ago

Yes bro, because it would take a lot of time to learn java 😆

$ 0.00
4 years ago

Yes bro... it's gonna taka a toll..😅

$ 0.00
4 years ago

Just take your time bro. You will learn. ❤️

$ 0.00
4 years ago

I hope so...😅

$ 0.00
4 years ago

Trust your self bro ❤️

$ 0.00
4 years ago

I will..thanks budd.

$ 0.00
4 years ago

No problems bro

$ 0.00
4 years ago

😇

$ 0.00
4 years ago

😇

$ 0.00
4 years ago

Are you currently studying programming bro?

$ 0.00
4 years ago