Java is a high-level programming language its having lots of features listed bellow
- Object Oriented
- High Performance
- Simple
- Secure
- Architecture Neutral
- Multithreaded
- Dynamic
- Portable and etc.
We use to write Java code simply in Notepad. After we write that code we use to save it by using class name that we gave and with the .java extension. After we saved it the we will compile it. After complied our java code will convert in to .class file. this class file is having a code which is unable to identify by you or your machine. Because of this Java is created Java Virtual Machine (JVM) to convert that code into machine code.After compile you can run your java file as you want.So we call this as Platform Independent. Ok now you know Java is platform independent because of this JVM.
No comments:
Post a Comment