|
1 | | -# java-programs |
| 1 | +# What is Java Programming ? |
| 2 | + |
| 3 | +[Java](https://www.java.com/en/download/) is a widely-used programming language for coding web applications. It has been a popular choice among developers for over two decades, with millions of Java applications in use today. Java is a multi-platform, object-oriented, and network-centric language that can be used as a platform in itself. It is a fast, secure, reliable programming language for coding everything from mobile apps and enterprise software to big data applications and server-side technologies. Created in 1995. |
| 4 | + |
| 5 | +## Uses of Java |
| 6 | +- Java works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.) |
| 7 | +- It is one of the most popular programming language in the world |
| 8 | +- It has a large demand in the current job market |
| 9 | +- It is easy to learn and simple to use |
| 10 | +- It is open-source and free |
| 11 | +- It is secure, fast and powerful |
| 12 | +- It has a huge community support (tens of millions of developers) |
| 13 | +- Java is an object oriented language which gives a clear structure to programs and allows code to be reused, lowering development costs |
| 14 | +- As Java is close to C++ and C#, it makes it easy for programmers to switch to Java or vice versa |
| 15 | + |
| 16 | +# [Java Virtual Machine (JVM)](https://www.javatpoint.com/jvm-java-virtual-machine) |
| 17 | + |
| 18 | +JVM (Java Virtual Machine) is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed. JVMs are available for many hardware and software platforms (i.e. JVM is platform dependent). |
| 19 | + |
| 20 | +### Operations |
| 21 | + |
| 22 | +- Loads code |
| 23 | +- Verifies code |
| 24 | +- Executes code |
| 25 | +- Provides runtime environment |
| 26 | +- JVM provides definitions for the : |
| 27 | + 1. Memory area |
| 28 | + 2. Class file format |
| 29 | + 3. Register set |
| 30 | + 4. Garbage-collected heap |
| 31 | + 5. Fatal error reporting etc. |
| 32 | +# |
| 33 | +#### Basic Code |
| 34 | +```Java |
| 35 | + class Simple{ |
| 36 | + public static void main(String args[]){ |
| 37 | + System.out.println("This is Java Programming"); |
| 38 | + } |
| 39 | +} |
| 40 | +``` |
| 41 | +***[Hello World](https://github.com/Xenderador/java-programs/blob/main/Beginning/beg.java)*** |
| 42 | +## |
| 43 | + |
| 44 | + |
| 45 | + |
0 commit comments