Explain the COM components
Explain the COM components?
Expert
It evolved as this while u write a CLASS to reuse within a application, numerous instances of the class exists along with each instance of application, subsequently u want to ignore it to make a class and put this in DLL now only one example exists though numerous instances of applications exists Application requires to be recompiled while DLL is modified, therefore came COM.
COM is independent component which internally handles networking and resources COM utilizes IDL to communicate to various languages.
Shallow copy: It is a copy of an object in which copies of each and every object's sub-components are not as well made. For example, a shallow copy of an array of objects would outcome in two separate array objects, each having references to similar s
Function prototypes: Function declaration which specifies the function name, return type and parameter list of the function. Syntax: return_type function_name(type var1, type var2,…
Sub class: It is a class which extends its super class. The sub-class inherits all the members of its super class. All Java classes are the sub-classes of Object class, which is at the root of inheritance hierarchy.
Illustrate in brief the meaning of active and passive objects?
What do you mean by the term source and listener?
Pattern: It is a recurring theme in class usage or design. Interfaces like Iterator encapsulate a pattern of admission to the items in a collection, whereas freeing the client from the requirement to know details of the way in which the collection is
Explain the way to enter element content.
Write two programs to calculate the summation of 1 to some integer n using a function called int summation(int n) a) Using a non recursive solution, with a for(i=1, i<=n; i++) loop and b) using a recursive solution, based on the following conditions summation(n) = summation(n-1
Encapsulation: Safeguarding the state of objects by stating its attributes as private and channeling entrance to them via accessor and mutator techniques.
Syntax error: It is an error detected by the compiler throughout its parsing of a program. The syntax errors generally result from mis-ordering symbols in statements and expressions. Missing curly semicolons and brackets are general illustrations of s
18,76,764
1936118 Asked
3,689
Active Tutors
1453230
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!