Is your project solving a pain point that no other project is solving or is it solving a problem in a way better than others? If the answer is yes then read on.
A class inside another class is called a Nested Class. In other words, as a class has member variables and member methods it can also have member classes.
Static is one of the non-access modifier which has a huge role in Java. It can be usedwith both variables and methods. It is used when we want some variable or method not to be a part of any specific objectof a class rather common for all objects of the class.
Objects are constructed. You can never make a new object without invoking a constructor (and not just theconstructor of the object’s actual class type, but also the constructor of each of its superclasses).
Reusing the same method name in the same class or subclass but with different arguments(and optionally, a different return type) is called Method Overloading in Java.
Reimplementing the inherited method from the parent class in the child class is called Overriding in Java.
Java would have been fully Object Oriented if it didn’t have the primitive types like int, float, boolean, etc. However, it is mostly Object Oriented so you may go through this post if you’re new to Object-Oriented Programming.
In this post, we would see how to declare a class, interface, variable, constructor, and many more.
Variables are devices that are used to store data, such as a number, or a string of character data so that we can manipulate them later in our program.
Hey there! This is the first post of my tiny little blog––my space in the perpetually growing internet––where I can ramble on about whatever I feel like. Well, there’s Twitter and Medium but I cannot ramble on there because of its 140 character limit or other terms and conditions :)