What is strong-typing versus weak-typing? Which is
preferred? Why?

Answer Posted / kirti

Strong typing implies that the types of variables involved in operations are associated to the variable, checked at compile-time, and require explicit conversion; weak typing implies that they are associated to the value, checked at run-time, and are implicitly converted as required. (Which is preferred is a disputable point, but I personally prefer strong typing because I like my errors to be found as soon as possible.)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention the namespace that is used to include .net data provider for sql server in .net code?

707


Define the term Scavenging in Caching?

779


Define the types of configuration files.

734


Explain transparent caching with aop?

709


List of words of preprocessor in .net?

703


Can we override the enablepartialrendering property of the scriptmanager class?

882


What is mvc in asp.net tutorial? : Asp.Net MVC

787


How does cookies work in asp net?

752


Explain what is an assembly?

741


How do you handle server controls?

863


Which method do you use to enforce garbage collection in .net?

713


What is web configuration file and how to use in web application

782


Is viewstate secure?

730


What a diffgram is, and a good use for one?

752


Does asp.net still recognize the global.asa file?

731