Worked Out Examples Of Oops Concepts in Console Application Using VB.NET
In this article I gave the examples for all Oops concepts in console applications using VB.NET. This article is only for the beginners who want to learn .NET. And in my next article I will give the same examples using C#.
In this article you will see the examples for:
- Single Dimension Arrays
- Two Dimensional Arrays
- Jagged Arrays
- Structures
- Classes
- Method Overloading
- Constructors
- Default Constructors
- Shared Constructors
- Constructor Overloading
- Shared Variable
- Parameterised Constructors
- Using ME Object
- Inheritance
- Overloading Methods
- Method Overriding
- Constructor With Inheritance
- My Base with Constructor
- Abstract Class
- Interfaces
- Exception Handling
No comments
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
No comments
