Beginner Level Java Viva or Interview Questions
Beginner Level Java Viva or Interview Questions
Beginner Level Java Viva or Interview Questions
Java Basics
1. What is Java?
Java is a high-level, object-oriented programming language
developed by Sun Microsystems (now Oracle) in 1995. It is
platform-independent due to the Java Virtual Machine (JVM),
which allows compiled Java code to run on any system.
Object-Oriented Programming
Java Methods
16. What is method overloading in Java?
Method overloading allows multiple methods in the same class to
have the same name but different parameter lists. It enables
methods to perform similar tasks with different types or numbers of
arguments