Skip to main content

Posts

Showing posts with the label features of java

Discuss JVM. Mention features of Java. Write a program in java to demonstrate multilevel inheritance.

 JVM stands for Java Virtual Machine. It is a virtual machine that is responsible for interpreting and executing Java bytecode. The JVM provides a platform-independent environment for Java code to run, as the bytecode is interpreted by the JVM, not the underlying hardware or operating system. Some of the key features of Java are: Object-oriented programming language: Java is an object-oriented programming language, which means it supports concepts such as classes, objects, encapsulation, inheritance, and polymorphism. Platform-independent: Java programs can run on any platform that has a Java Virtual Machine installed. Robust: Java is designed to be robust and reliable. It has features such as automatic memory management, exception handling, and type checking, which help to prevent errors and ensure program stability. Simple: Java is designed to be easy to learn and use. Its syntax is similar to that of C and C++, but with fewer low-level features. Secure: Java has a built-in secur...