Summary Constractor n Destructor
- A constructor is used to initialize the members of the class.
- There are two types of constructors, instance constructors and static constructors.
- Instance constructors are used to initialize data members of the class.
- Static constructors are used to initialize the static variables of a class.
- Destructors are used to release the instance of a class from memory.
- Garbage collection is a process that automatically frees the memory of objects that are no
more in use.
- Objects get destroyed: It does not specify when the object shall be destroyed.
- Only unused objects are destroyed: An object is never destroyed if it holds the
reference of another object.
- The Finalize() destructor is a special method that is called from the class to which it
belongs or from the derived classes. The Finalize() destructor is called after the last
reference to an object is released from the memory.
- The Dispose() method is called to release a resource, such as a database connection, as
soon as the object using such a resource is no longer in use.
Summary Polymorphism
- Static Polymorphism refers to an entity.
- Function Overloading allows using the same name for two or more function.
- The type, sequence, or number of parameters for a function is called the function signature.
- Operator overloading allows user defined types such as structures and classes.
- Dynamic Polymorphism function execution is made at runtime and it compared to static polymorphism.
- Abstract classes consist of abstract class numbers.
- Virtual function is appear to be present in some parts of the program.
Summery Constractor, Destructor, and Polymorphism
Label:
My Tasks
Diposting oleh
Cha Syncent
22/04/13
Langganan:
Posting Komentar (Atom)
Blog Subscription
Search this blog
About Me

- Cha Syncent
- It's me...
- Astria Febricha Vydal... (my real name)
- Cha Cambright Syncent...
- Cha Cha Maricha Euy Euy...
- Cha Duckky Kwek Kwek...
- Chacam The Crusher Park
hehhee...
I just a girl who has many dreams... wew....
this is the one... >>>
Sometimes,
Dream Can Be Real,
So,
I'll Always Dreaming,
In Order That,
My Dream Can Be Real. . . ^_^
Popular Posts
-
Alhamdulillahirabbil'alamin Ku ucapkan terimakasih kpda Allah SWT yang telah memberikan ku umur sampai saat ini. Smoga dengan b...
-
Hello Everybody! Its very long time no posting here. This time I'll try to explain about differences between Mr.Java & Mr.C-Sharp ...
-
A. Sejarah Halloween dan Pandangan Islam Apa itu Halloween, apakah kita sebagai orang muslim boleh melakukannya? Berikut sedi...
-
Kelebihan Linux 1. Linux merupakan sistem operasi bebas dan terbuka. Sehingga dapat dikatakan, tidak terdapat biaya lisensi untuk membel...
-
Terlihat seorang pemuda bernama Jimmy sedang duduk di atas motor merahnya [ojek kaleee!!]. Kemudian lewatlah sahabat karibnya bernama Di...
-
Linux disusun berdasarkan standard sistem operasi POSIX, yang diturunkan berdasarkan fungsi kerja UNIX. UNIX kompatibel dengan Lin...
-
Minggu – minggu tenang sebelum bertarung menghadapi National Examination. Penentuan masa depan bagi para pelajar (ga juga sih). Mike, se...
-
Malam itu, Baim seorang anak pengusaha kaya, sedang diam sendirian di kamarnya, sementara ayah dan ibunya sedang dinas ke luar negeri. ...
-
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Dice { class Program ...
-
*Sehari sebelum menghadapi UN… Mike sedang duduk diam dikamarnya sambil sesekali melihat ke arah handphone-nya…. Hmmm…. Apa yang dilaku...
Labels
- Important (8)
- Linux (4)
- My Stories (8)
- My Tasks (10)
Blog Archive
0 komentar:
Posting Komentar