Introduction to Java

What Is Programming

Programming is the process of giving instructions to machines. The person who is involved in programming is a programmer.

Programming Language

Like we understand English, Hindi, and Nepali. The computer understands programming language to perform the task. Here are some popular programming languages:

  • Java
  • Javascript
  • Python
  • Php
  • C# [C Sharp]
  • C
  • C++
Info

The main purpose of any programming language is to solve a particular problem.


Java

Java is high-level, object-oriented, general-purpose programming language. It runs on different platforms, i.e., Windows, Linux, Mac, etc. It lets programmers write once and run anywhere.

Java Slogan

Java’s slogan is Write Once, Run Anywhere. It means that you can write a program in Java and run it on any platform including Windows, Linux, Mac, etc.

Some Features Of Java

  • Used to make mobile apps, web apps, & desktop apps.
  • Huge Community Support.
  • Fast & Secure.
  • It is case-sensitive. [A and a have different meanings]
  • Used in QA Automation.
  • It is open-source and free.

True or False

Java is only used to make android apps?

Show Answer

Tip

Like swimming, you can’t learn it by reading a book. You have to get in the water and practice. Similarly, you can’t learn Java by just reading this article. You have to code.

Challenges

  • What is the meaning of write once run anywhere?