+ 1

Objects

Why do we use objects in oop programming how does it help us and are there any better alternatives of objects

31st Jan 2025, 7:49 AM
Arnav
Arnav - avatar
3 Respostas
+ 1
The OOP is very crucial for dealing with large projects. You partially never deal with the need of having to apply OOP in every day coding projects. You may oblige to avoid It due to concern of adding boiler plate, unnecessary complexity and extra overhead in small projects. Which is why they are specially designed to be used in large scaled software which might grow exponentially in complexity.
31st Jan 2025, 2:24 PM
public static void
+ 1
object store data and methods that operate it, in one compact unit. Also hides and protects names, so you can use same names in different scopes many times. Also hides complexity, so you can use object easy way as Object user. Object can inherit from other unit, it can be useful, if you want create variation of object or create hierarchy. Alternative can be functional programming.
31st Jan 2025, 8:27 PM
zemiak
0
Aight thanks for your answer guys public static void zemiak
1st Feb 2025, 2:14 PM
Arnav
Arnav - avatar