Check out our courses: Java Spring Boot AI Live Course: Coupon: TELUSKO20 (20% Discount) AI Powered DevOps with AWS - Live Course :- Coupon: TELUSKO20 (20% Discount) Master Java Spring Development : Coupon: TELUSKO20 (20% Discount) For More Queries WhatsApp or Call on : +919008963671 website : Udemy Courses: Spring: Java:- Java Spring:- Java For Programmers:- Python : Git : Docker : Instagram : Linkedin : TELUSKO Android App : TELUSKO IOS App : Discord : In this lecture we will learn: - What is Abstraction? - Abstract method in Java - Abstract class in Java - Abstract vs Concrete classes #1 Abstraction is a process of hiding the implementation details and showing only functionality to the user. #2 Abstract method:- - Instead of defining the method, we can declare the method. - If we put a semicolon at the end of a method, it means that you only declare the method like: public void drive(); - This method does not contain any features and you will not be able to create an object of it. - You need to add an abstract keyword to only declare a method. #3 Abstract class:- - Abstract methods can only be defined in an abstract class. - We need to add an abstract keyword before a class to make it an abstract class. - Objects of an abstract class can not be created. - If you are extending an abstract class, then it is compulsory to define all abstract methods. - It is not necessary that an abstract class should have an abstract method. - Abstract class can have an abstract or a normal method or both. - An abstract class can have more than one abstract method. #4 Concrete class: A class other than an abstract class is known as a concrete class. - An object of a concrete class can be created. Github repo : More Learning : Java :- Python :- Django :- JavaScript :- Node JS :- Rest Api :- Servlet :- Spring Framework :- Design Patterns in Java :- Docker :- Blockchain Tutorial :- Corda Tutorial:- Hyperledger Fabric :- NoSQL Tutorial :- Mysql Tutorial :- Data Structures using Java :- Git Tutorial :- Donation: PayPal Id : navinreddy20










