This blog is free to learning online Java Programming Language, Android and Kotlin. There is you find a brief explanation of every tutorial with example at this blog. If you beginners there is the right place to learn Java Programming Language, Android mobile application Development and Kotlin Language. If you experienced then there is refreshing your knowledge.
Abstraction in Java and used of abstract class & method in Java
Introduction:- Abstraction in Java and Abstract Class & Method in this tutorial we explain about what is abstraction and also explain about abstract method and abstract class in Java with example . What is abstraction? Abstraction is a process to hiding the certain details from the users and that focus on a service provide to a users is called Abstraction . For example a developer create a calculator in Java and that's providing a service addition, subtraction, multiplication and division. When you use a calculator for addition a two number then user get only output of addition he did not know what is working behind the calculation in a program. Advantage:- 1. Avoid code duplication and increase reusability . 2. The size of code is reduce and reduce complexity . 3. Provide a security of program only require detail is provide to users. 4. We can able to perform any type of changes in back side without effecting the end use
0 Comments
Hello Friends, Please comment and share and do not write spam messages