Reveision java

What is Java?

_Java is a popular programming language, created in 1995.

It is used for:

Mobile applications (specially Android apps)
Desktop applications
Web applications
Web servers and application servers
Games
Database connection
And much, much …


This content originally appeared on DEV Community and was authored by yaswanth krishna

What is Java?

_Java is a popular programming language, created in 1995.

It is used for:

Mobile applications (specially Android apps)
Desktop applications
Web applications
Web servers and application servers
Games
Database connection
And much, much more!_

---------------------------------------------------------------------Why Use Java?
_
Java works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.)
It is one of the most popular programming languages in the world
It has a large demand in the current job market
It is easy to learn and simple to use
It is open-source and free
It is secure, fast and powerful
It has huge community support (tens of millions of developers)

Java is an object oriented language which gives a clear structure to programs and allows code to be reused, lowering development costs_

What is Variables ?

_ String - stores text, such as "Hello". String values are surrounded by double quotes
int - stores
Image descriptionintegers (whole numbers), without decimals, such as 123 or -123
float - stores floating point numbers, with decimals, such as 19.99 or -19.99
char - stores single characters, such as 'a' or 'B'. Char values are surrounded by single quotes

boolean - stores values with two states: true or false_

*What is data types?
*

_1. A variable in Java must be a specified data type:

  1. Data Type Description
  2. byte Stores whole numbers from -128 to 127
  3. short Stores whole numbers from -32,768 to 32,767
  4. int Stores whole numbers from -2,147,483,648 to 2,147,483,647
  5. long Stores whole numbers from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
  6. float Stores fractional numbers. Sufficient for storing 6 to 7 decimal digits
  7. double Stores fractional numbers. Sufficient for storing 15 to 16 decimal digits
  8. boolean Stores true or false values
  9. char Stores a single character/letter or ASCII values
  10. _


This content originally appeared on DEV Community and was authored by yaswanth krishna


Print Share Comment Cite Upload Translate Updates
APA

yaswanth krishna | Sciencx (2025-02-22T04:06:58+00:00) Reveision java. Retrieved from https://www.scien.cx/2025/02/22/reveision-java/

MLA
" » Reveision java." yaswanth krishna | Sciencx - Saturday February 22, 2025, https://www.scien.cx/2025/02/22/reveision-java/
HARVARD
yaswanth krishna | Sciencx Saturday February 22, 2025 » Reveision java., viewed ,<https://www.scien.cx/2025/02/22/reveision-java/>
VANCOUVER
yaswanth krishna | Sciencx - » Reveision java. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/02/22/reveision-java/
CHICAGO
" » Reveision java." yaswanth krishna | Sciencx - Accessed . https://www.scien.cx/2025/02/22/reveision-java/
IEEE
" » Reveision java." yaswanth krishna | Sciencx [Online]. Available: https://www.scien.cx/2025/02/22/reveision-java/. [Accessed: ]
rf:citation
» Reveision java | yaswanth krishna | Sciencx | https://www.scien.cx/2025/02/22/reveision-java/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.