Hack Forums
[Java] What are the main concepts of OOPs in Java? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Java] What are the main concepts of OOPs in Java? (/showthread.php?tid=5972084)



What are the main concepts of OOPs in Java? - preetiagarwal - May 20, 2019

Object-Oriented Programming in Java:

Object-Oriented Programming or OOPs is a programming style that uses concepts such as:
1.Inheritance: inheritance is a process in which one class acquires the properties of another.
2.Encapsulation: encapsulation in Java is a mechanism for summarizing the data and code as a single unit.
3.Abstraction: abstraction is the methodology to hide implementation details from the user and only provide functionality for the user.
4.Polymorphism: polymorphism is the ability of a variable, function, or object to take multiple forms.


RE: What are the main concepts of OOPs in Java? - CodePlex - May 22, 2019

I don't understand the purpose of this thread.


RE: What are the main concepts of OOPs in Java? - Nachfolger - May 22, 2019

Wow, thanks so much for this thread. I am now a Java pro.