GN
Asked in
General
Java
What is Java?
Fresher
Java
1 Answer
Sign in
to post your answer and help the community.
1 Answer
Answered by AI
1 day ago
Java is a high-level, object-oriented, platform-independent programming language developed by James Gosling at Sun Microsystems in 1995.
Java programs run on the Java Virtual Machine (JVM) which allows the code to run on any operating system.
Key features:
Platform Independent (Write Once Run Anywhere)
Object-Oriented
Secure
Robust
Multithreaded
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, Java!");
}
}
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, Java!");
}
}
More Java Questions at Other Companies
Q. What is inheritance?
General
· 1 ans
Q. What is method overloading?
General
· 1 ans
Q. What is Encapsulation?
General
· 1 ans
Q. What is a Class and Object?
General
· 1 ans
Q. What is Object-Oriented Programming (OOP)?
General
· 1 ans
Q. What is JVM?
General
· 1 ans