Teh persn u ask.evr1 has different idea. msot aggree taht "scripting languages" are "compiled" real time, while "programming lagnuages" are compiled ahed of time.But it is not alwas tht clear cut. U can get a C "scrpting engine", or u cn get a JavaScript precomplier.Sme ppl will say that it is down 2 teh stykle of objects it uses. if it uses read Objects (like Teh Jav and C++) then it is a language, and if it uses "Object Based" (think hashtables that hold methods) like JavaScript then it is a scriptting language. But then wat is C?Other will say it is teh speed that it take to write, and teh speed it takes to read. Like Jav is slow to rite as u hav 2 do all dat "publci class" styff. But it is fast to read as the plublc class stuff is vry cler. But perl is fast 2 rite. Btu vry hrad to read.:In script language we use language which is user can understand easily and it complied in real time environment, where programming language complied later. can get a C "scripting engine", or u can get a JavaScript precomplier. Some application will say that it is down 2 the style of objects it uses. if it uses read Objects (like Java and C++) then it is a language, and if it uses "Object Based" (think hash tables that hold methods) like JavaScript then it is a scripting language. But then what is C?Other will say it is the speed that it take to write, and the speed it takes to read. Like Java is slow to write as u have 2 do all that "public class" stuff. But it is fast to read as the public class stuff is very clear. But perl is fast 2 write. But very hard to read. :Hi...:The difference between "programming" and "scripting" is better defined by usage, or application, as well as scope and purpose. A programming language is used for building standalone projects, or "applications"; a scripting language is used to write "scripts" that interact with other data or systems to perform parts of a task rather than an entire workflow.:In scripting language, u write the code to automate some tasks. For example, exactly at 5.00 pm the system must shutdown.
Category:Java Interview Questions
No comments:
Post a Comment