vinoth


{ City } chennai
< Country > india
* Profession * trainee system engineer
User No # 27958
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 5
Users Marked my Answers as Wrong # 5
Questions / { vinoth }
Questions Answers Category Views Company eMail




Answers / { vinoth }

Question { Aspire, 31120 }

Explain the difference between use and require?


Answer

The use statement works at compile time, require at run
time. So if you have a module that does a lot in a begin
block and you don't really need it in all cases, then it's
clever to "require" it there where you want to use it but
don't "use" it. So you don't have to wait for all that
initializations of that module in case you don't need it.

Is This Answer Correct ?    5 Yes 5 No