JAVA
what is Java?
Java is a programming language.
What is a language?
Language is a mode of communication, used to share ideas, opinions, information with one another.
For example, there are two persons John and Joe. To talk with each other or to share their thoughts or ideas or information they need something that is language. By using language they can communicate with each other. That language should be understandable by both John and Joe.
English==== Language ==== Communication Language === Share Information.
Here English is a language.
Which type of language?
It's a communication language.
Why it is used?
Communication Language ==== We can provide communication between persons to share information or ideas.
Now a person wants to learn English
----------------------------------------------
Being an English learner person should follow grammar.
Grammar ==== Collection of rules and syntaxes.
In the same way, coming to java
Java ==== Language ==== Programming Language ==== Person to Physical device ( computer), to develop software.
Here java is a language.
Which type of language?
Java is a programming language.
Why programming language is used?
Programming language is used to communicate persons with computers
The programmer wants to learn java
-------------------------------------------
Being java learners we should follow java rules, regulations, and syntaxes
Programming Language ==== Collection of Rules + Syntaxes + Regulations
Now, what is programming?
program is a set of rules to perform a specific task.
Programming language is used by the programmer to communicate with the computer.
The computer only knows binary language means 0's and 1's because internally computer is built on top with a microprocessor that understands only 0's and 1's, that's why the computer only understands the binary language/ machine language.
But humans don't understand binary language so to communicate humans with computers we need a translator.
What is Translator?
A translator is built-in software that converts human-readable language to binary language/machine language and binary language/machine language to human-readable language.

No comments:
Post a Comment