CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Interview Success Kit - 9,000 Interview Que. & Ans.
Covers 9,000+ Interview Questions asked in actual MNC Interviews - all with model answers.
Get Your Dream Job Now - www.vyoms.com
Sponsored Links
Interview Questions
Our Services

INTERVIEW QUESTIONS MICROSOFT DOTNET DETAILS
Question :
What is strong-typing versus weak-typing? Which is preferred? Why?
Category DotNet Interview Questions
Rating (4.0) By 55 users
Added on 12/21/2010
Views 1661
Rate it!
Answers:

Strong type is checking the types of variables as soon as possible, usually at compile time. While weak typing is delaying checking the types of the system as late as possible, usually to run-time. Which is preferred depends on what you want. For scripts & quick stuff you?ll usually want weak typing, because you want to write as much less (is this a correct way to use Ensligh?) code as possible. In big programs, strong typing can reduce errors at compile time.



Strong type is checking the types of variables as soon as possible, usually at compile time. While weak typing is delaying checking the types of the system as late as possible, usually to run-time. Which is preferred depends on what you want. For scripts & quick stuff you?ll usually want weak typing, because you want to write as much less (is this a correct way to use Ensligh?) code as possible. In big programs, strong typing can reduce errors at compile time.



Posted by: SHEKAR

Contact SHEKAR Contact SHEKAR

Strong type is checking the types of variables at compile time.

weak typing is delaying checking the types of the system as late as possible, usually to run-time.



Posted by: nag

Contact nag Contact nag

If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification Enter the above shown code: *
    Inform me about updated answers to this question

    Related Questions
    View Answer
    What is the difference between thread and process?
    View Answer
    What is the difference between a.Equals(b) and a == b?
    View Answer
    How does the lifecycle of Windows services differ from Standard EXE?
    View Answer
    What is a Windows Service and how does its lifecycle differ from a ?standard? EXE?
    View Answer
    What is CLR?
    View Answer
    Explain the differences between Server-side and Client-side code?
    View Answer
    What type of code (server or client) is found in a Code-Behind class?
    View Answer
    Should validation (did the user enter a real date) occur server-side or client-side? Why?
    View Answer
    What does the EnableViewState Means?
    View Answer
    What is the difference between Servers? Transfer and Response. Redirect? Why would I choose one over the other?
    View Answer
    Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
    View Answer
    Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
    View Answer
    Can you give an example of what might be best suited to place in the Application Start and Session Start subroutines?
    View Answer
    What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
    View Answer
    How does VB.NET/C# achieve polymorphism?
    View Answer
    How would you implement inheritance using VB.NET/C#?
    View Answer
    Whats an assembly ..?
    View Answer
    Describe the difference between inline and code behind - which is best in a loosely coupled solution.
    View Answer
    How would you implement inheritance using VB.NET/C#?
    View Answer
    Explain what a diffgram is, and a good use for one
    View Answer

    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL DotNet Interview Questions & Answers

    User Options
    Latest 20 Questions
    What are the common properties Button controls used in ASP.NET?
    How to apply themes for asp.net application?
    What is the use of "HttpHandlers" in web.config ?
    What?s the difference between Linkbutton control and Hyperlink control?
    In ASP.NET how many navigation controls are there?
    List all different typesS of directives in .NET
    What are the State Management options in ASP.NET ?
    What is Global Assembly Cache ?
    What is the difference between ExecuteScalar and ExecuteNonQuery?
    What is the appSettings Section in the web.config file?
    List the major built-in objects in ASP.NET?
    What are the asp.net Security Controls?
    Explain the working of passport authentication.
    How can we apply Themes to an asp.net application?
    What are the event handlers that we can have in Global.asax file?
    Write code to send e-mail from an ASP.NET application?
    What are the different validators in ASP.NET?
    How to execute an sql query? How to fetch its result ?
    What is the difference between Session and Cookie?
    What are different types of Runtime Errors in PHP?


    Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0 Seconds