A class is a set of things or components having some common properties and attributes, and these components are differentiated at any point of time by the values they hold. We call such components as an instance or object of that class. A class is a abstract keyword which generalized a set of similar entities.
The processes involved between the moment you write a program to the moment you execute it, is not as straightforward as one would expect. Here, in this post, we will try unwinding it a little bit. Suppose you wrote some java program say, JCombat.java, which means that it if it contains any public class, the name
JDK is the Java Development Kit, JRE stands for the Java Runtime Environment while JVM stands for the Java Virtual Machine. As my past experience, I always used to get confused among these. So let’s make sure, how I write will never make us forget any of this again. JVM So, JVM is the prime abstract machine
This is one of the popular interview questions that you can definitely expect in future. What I will be explaining here will be something out-of-the-box, trying to achieve the level of clarity and perspective hard to find across the web. As in our technical day-to-day life, we have always kept hearing the terms ‘web server’ and ‘application server’,
The same class may have a multiple methods with the same name, on a condition that they have either different number of arguments or they have arguments of a different type. This concept is known as method overloading in Java.
Get more stuff like this
in your inbox
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Thank you for subscribing.
Something went wrong.