C++ Programming - OOPS Concepts - Discussion
Discussion Forum : OOPS Concepts - General Questions (Q.No. 16)
16.
Which of the following concepts means adding new components to a program as it runs?
Discussion:
23 comments Page 1 of 3.
Purusoth said:
1 month ago
The concept that means adding new components to a program as it runs is called "dynamic loading".
Explanation: Dynamic loading allows a program to load libraries or modules into memory at runtime, essentially adding new functionality on demand, rather than having them compiled statically into the program from the start.
Key points about dynamic loading:
Flexibility:
It allows a program to adapt to changing requirements or load only the necessary components, improving performance and efficiency.
Runtime loading:
The process of loading new components happens while the program is already running.
Plugin architecture:
Dynamic loading is often used to implement plugin systems, where users can add new functionality to a base application by installing plugins.
Explanation: Dynamic loading allows a program to load libraries or modules into memory at runtime, essentially adding new functionality on demand, rather than having them compiled statically into the program from the start.
Key points about dynamic loading:
Flexibility:
It allows a program to adapt to changing requirements or load only the necessary components, improving performance and efficiency.
Runtime loading:
The process of loading new components happens while the program is already running.
Plugin architecture:
Dynamic loading is often used to implement plugin systems, where users can add new functionality to a base application by installing plugins.
Tripti said:
5 years ago
The compiler always execute the member function of base class first, the compiler doesn't know which classes objects address hold by pointer so the compiler unable to take the decision at compile time but at run time when function call executes, it takes decision according to the address stored in the pointer.
So the decision taken for calling any object through the appropriate class function at Run time is known as dynamic binding or late binding.
To making connections to a function call with the appropriate function is known as binding.
So the decision taken for calling any object through the appropriate class function at Run time is known as dynamic binding or late binding.
To making connections to a function call with the appropriate function is known as binding.
(3)
Sree said:
7 years ago
Can anyone describe the function of dynamic loading?
Sumit said:
9 years ago
What is an instance variable? Any can explain it.
(1)
Tani said:
9 years ago
How this concept is valid in OOPs. Can anyone explain?
RAJASEKHAR said:
10 years ago
Can anyone explain what is dynamic typing?
Msiri kisenga said:
10 years ago
I think the answer should be the dynamic biding because the new component is added at run time.
Dynamic loading the new component will be added at compiler time.
Dynamic loading the new component will be added at compiler time.
Maulana azad said:
1 decade ago
Loding means carrying heavy things. Binding means tying loded things.
Diya said:
1 decade ago
Dynamic means "which keeps on changing".
The changes that are made to the class object when the program runs at run time or dynamic time when its values keeps on changing as per the user's input is called dynamic loading.
The changes that are made to the class object when the program runs at run time or dynamic time when its values keeps on changing as per the user's input is called dynamic loading.
VINUTH said:
1 decade ago
Dynamic doesn't mean "multiple",
Dynamic means multiple so we want to insert any external components inside the program just we use this concept.
Dynamic means multiple so we want to insert any external components inside the program just we use this concept.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers