Trek Innovations

Thoughts For You

Object-Oriented Programming Concepts

Basic Concepts of Oops

Value Type Data Types

1. Memory allocates at compile time in stacks

2. De-allocation will be take care by stacks

Reference Type Data types

1. Memory allocates at runtime time in heap

2. De-allocation will be take care by Garbage Collector

Classes

1. It’s a reference type data type

2. It’s a user defined data type

3. Collection of properties (data) and behaviour (functions) is called a class

Read more

Share This Post No comments