Posts

Showing posts from January, 2021

OOPS concepts in Java

Image
In my previous blog , I discussed about what Java basically is . Now , let's begin with the necessary concepts of java which made java a purely Object oriented language. Java is known as Highly object oriented language and it covers almost all OOPS concepts by itself. There are mainly 4 OOPS concepts which are to be used by us in future a lot. These are -  1. Inheritance 2. Polymorphism 3. Abstraction 4. Encapsulation Lets first discuss about Inheritance. What Inheritance really is and how it can make our work easier in java. What is Inheritance? As the name suggests , inheritance is used to inherit the properties of something. What is something there? - a class . So , when one class inherits the properties of another class , it is said that inheritance is occurred. The class which inherits the properties is known as subclass and the class which is inherited known as super class.  As shows in this picture , we have 3 types of inheritance in java - 1. Simple Inheritance - Wher...

How well do you know about Java?

okay , so this sounds like we are talking about a person and how much we know about its behaviour and its nature .For me , Java is not too much difficult to understand . We just have to pretend it like we are trying to understand the behaviour of a person who stays in between us and helping us to know others as well. I am too not a perfect java developer but I want to discuss all the topics and concepts which I know and learning , so that everyone can take the benefits of it. So , as this blog's title says - how well do we know about Java? Java is a multi-platform , object-oriented and network-centric language. Sounds like some professional and technical terms ? Don't worry , Let's simplify this in layman terms. so , once again - Java is a multi-platform language means Java runs on different operating systems like Android , Linux , Windows and what helps Java to run on any platform is that when java code compiles it turns code into byte code instead of machine code. So , we...