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.
                  
                  
                
👍👏👏👍
thank you, it is really helpful :)
Обсуждают сегодня