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

How many types of controls are there in asp.net?

598


Which methods validate all the controls on a page?

640


Which method do you use to kill explicitly a users session?

717


Why we use content place holder in asp.net?

614


What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc

639






How asp.net mvc differs from asp.net web forms? : asp.net mvc

642


How can we Validate a Controls in ASP.NET page using JavaScript?

721


What are the 3 types of web?

578


What is a viewbag?

605


Is viewstate secure?

612


Why session management is required?

634


How to rename a table using sql queries?

647


What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?

859


How many types of cookies are there in asp.net?

622


What do you mean by authorization?

607