Recent posts tagged object-oriented-programming

12 1 2 min.
In object-oriented programming languages, there are three types of variables: **- Local Variables - Static Variables - Instance Variables** The **local variables** are the ones that are declared inside a function and cannot be accessed outside of...
posted Sep 14 Hafsa_Rao 358 points
14 0 1 min.
The objects of one class cannot be directly accessed by another class in any programming language. For suppose, you have the following classes:public class Car { private int Model; private String Name; public Car() //method to set ...
posted Aug 18 Hafsa_Rao 358 points
0 0 2 min.
Abstraction, Encapsulation, Polymorphism, and Inheritance are four building blocks of Object-Oriented programming and without these bases, you cannot achieve object-oriented functionality. In this article, we are going to discuss abstraction and enca...
posted Aug 7 Hafsa_Rao 358 points
To see more, click for the full list of questions or popular tags.