Похожие чаты

1- what is GAC? 2- What is DLL Hell?explain about it. 3-

what is Boxing?
4- how method overloading works?

1 ответов

12 просмотров

If u want to use my windows application into other, we create DLL of it.(similar to packages in java) Best example would be using System. We are using dll named system in our application to use the functions & methods in it. 1. What is GAC ? We use gac to store a common dll between multiple application. Consider u have two adobe application which use same dll, they can store the file there. 2. What is dll hell ? Well, earlier, if u installed new dll, earlier dll life would get override. If u have not implemented any function in the new dll, the program depended on it won't work. So, we know have versioning of dll. So, the software can differenciate between 2 dll files. 3. What is boxing ?! Boxing is to convert the value type (int, float or string) to object. Pros: 1. As it's object, multiple value type can be stored together in collections. 2. Object is a reference type. Plz study difference between value & reference type. How method overloading works ?! Basically if u want to use the same function with multiple multiple parameter. Ex: if u want to add 2 digits. U can create two functions with same name but multiple parameter like add(int,int) // add 2 num add(int,int,int) //add 3 num It will decided on runtime which method should be called. If there are 2 variable passed, it will go for 1st functional only. Hope it helps 😁 This are for ur understanding only. Plz refer to online articles for exact terminology.

Похожие вопросы

Обсуждают сегодня

Всем привет! Имеется функция: function IsValidChar(ch: UTF8Char): Boolean; var i: Integer; ValidChars: AnsiString; begin ValidChars := 'abcdefghijklmnopqrstuvwxyzABCDE...
Евгений
44
For all those that keep asking why no pump? why this ? and why that...? Please close ur ewt chart and open 2 others - TOTAL (total mc) and BTC.D (btc dominance). Maybe BTC a...
Inn3r_G
19
"Since pnut can flip FTM easily, I'm swapping my FTM to pnut and hoping for a easy x5-x10" Perfect recipe for disaster. NFA but chances are, you'll end up as exit liquidity ...
C. A.
7
AMD status update? No longer in the plan but something might be around the corner later on Chinese partner? No longer in the plan. This market does not seem to be the top ...
Ben
6
I get confused when people talk about the ‘bull market’ and the ‘next bull market’ as if anyone really has a clue what’s really going on in the world. First of all - there i...
Shah
1
Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
Добрый день, подскажите, пожалуйста, по проблеме. Сегодня на работе утром обнаружилось что по рдп подключиться не получается к серверу 2022. В серверную зашел - на системно...
srv
19
И никого не интересует какие пакеты кто использует. ((% Заходишь на сайт симфони и видишь поддержку Украины - по законам РФ это ж экстремизм. Только никто не отказывается от с...
Am Ambrion
11
Мне вот любопытно. Уже сколько времени имею соблазн купить макбук, ибо подозреваю что очень уж удобен будет в связке с другой техникой от эпл которая у меня есть, да и сам по ...
Not Yeromin
9
лучше скажите, причём тут паскаль?
Alexey Kulakov
36
Карта сайта