Trek Innovations

Thoughts For You

Archive for the 'Oops Concepts' Category

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:

  1. Single Dimension Arrays
  2. Two Dimensional Arrays
  3. Jagged Arrays
  4. Structures
  5. Classes
  6. Method Overloading
  7. Constructors
  8. Default Constructors
  9. Shared Constructors
  10. Constructor Overloading
  11. Shared Variable
  12. Parameterised Constructors
  13. Using ME Object
  14. Inheritance
  15. Overloading Methods
  16. Method Overriding
  17. Constructor With Inheritance
  18. My Base with Constructor
  19. Abstract Class
  20. Interfaces
  21. Exception Handling

Read more

Share This Post 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

Read more

Share This Post No comments