Quick Summary
Quick Summary
Polymorphism
• 4. Robust: Java language is robust which means
reliable. It is developed in such a way that it puts a
lot of effort into checking errors as early as possible,
that is why the java compiler is able to detect even
those errors that are not easy to detect by another
programming language. The main features of java
that make it robust are garbage collection,
Exception Handling, and memory allocation.
• 5. Secure: In java, we don’t have pointers, so we
cannot access out-of-bound arrays i.e it
shows ArrayIndexOutOfBound Exception if we
try to do so. That’s why several security flaws like
stack corruption or buffer overflow are impossible
to exploit in Java. Also, java programs run in an
environment that is independent of the os(operating
system) environment which makes java programs
more secure.
6. Distributed: We can create distributed applications
using the java programming language. Remote Method
Invocation and Enterprise Java Beans are used for
creating distributed applications in java. The java
programs can be easily distributed on one or more
systems that are connected to each other through an
internet connection.
JAVA IDE
SIMPLE JAVA PROGRAM
// Importing classes from packages
import java.io.*;
// Main class
public class GFG {
// Main driver method
public static void main(String[] args)
{
// Print statement
System.out.println("Welcome to JAVA’S WORLD");
}
}