answersLogoWhite

0

Java sript vs VB script

Updated: 8/9/2023
User Avatar

Aveshire

Lvl 1
15y ago

Best Answer

Hi all,

javascript is case sensitive vbscript is not.

javascript will explore in all the browser, vb accept only internet explore

javascript only for client side, vbscript both client side and serverside

js is client side validation,vbscript for server side validation

if you don't get. u can reach me iamselvam85@gmail.com

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

Java Script and VB Script are both programming languages that programmers use as tools to develop applications for personal computers.

Specifically, Java Script may be the easier of the two to use as a tool, and its results can run in multiple environments, whereas VB Script is more Microsoft-centric both in its orientation and its singular-environment operability.

According to Wikipedia:

"JavaScript is an object-oriented scripting language used to enable programmatic access to objects within both the client application and other applications. ... JavaScript was influenced by many languages and was designed to look like Java, but to be easier for non-programmers to work with."

According to Wikipedia:

"VBScript (short for Visual Basic Scripting Edition) is an Active Scripting language, developed by Microsoft, which uses the Component Object Model to access elements of the environment within which it is running.... The language's syntax reflects its origins as a limited variation of Microsoft's Visual Basicprogramming language."

Read more, below.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

JavaScript is just like VB Script, but VB Script is what windows made to try to get rid of JavaScript, but as you can see im sure JavaSript is the winner. They are the same thing pretty much just a little alterations in the code.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Java sript vs VB script
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Important points of oops vs pop in java?

java is object oriented language.it's a platform independent.in java we don't use pointers


Inheritance vs instantiation in Java?

Inheritance is simply when you get properties and methods from a superclass, whereas instantiation is actually allocating an object in memory based on your class.


C plus plus supports more object oriented Programming features as compared to JAVA?

No. Java is 100% OOP while C++ supports the concept of primitives (which it inherited from C). Thus C++ supports far more features than Java, but it does not support any more OOP features than Java. Note that there are only four primary OOP features: encapsulation, abstraction, inheritance and polymorphism. Anything beyond that is implementation-specific and outwith the scope of OOP.


Why can't a c plus plus class be derived from a Java class?

A C++ class cannot be directly derived from a Java class because C++ and Java are two distinct programming languages with different object-oriented models and memory management systems. Here are some reasons why direct inheritance between C++ and Java classes is not feasible: Language Syntax and Semantics: Syntax Differences: C++ and Java have different syntax rules and conventions. For example, C++ uses pointers extensively, while Java relies on references. The way classes are declared, constructors and destructors are defined, and methods are called is different in the two languages. Memory Management: Java uses automatic memory management (garbage collection) to manage memory, while C++ allows manual memory management using pointers and explicit memory deallocation. These differences make it challenging to reconcile memory management approaches in inheritance. Runtime Environment: JVM vs. Native Code: Java code is executed in a Java Virtual Machine (JVM), which abstracts the underlying hardware. C++ compiles to native machine code. Inheriting a Java class in C++ would require bridging the gap between the JVM and native code, which is a complex task. Platform Dependencies: Platform-Specific Code: C++ and Java applications are compiled for specific platforms. Inheriting a Java class in C++ would lead to platform-specific issues, as the two languages are not designed to interoperate seamlessly at the class level. Type System: Strong vs. Weak Typing: Java has a strong, statically-typed system where types are checked at compile-time. C++ has a more flexible, statically-typed system with additional features like operator overloading and multiple inheritance. This difference in type systems makes direct inheritance challenging. Standard Libraries: Standard Libraries: Java and C++ have different standard libraries and core classes. Inheriting a Java class in C++ would require translating Java-specific classes and methods into their C++ equivalents, which is a non-trivial task. Garbage Collection: Garbage Collection: Java's automatic garbage collection conflicts with C++'s manual memory management. Mixing the two in an inheritance hierarchy could lead to memory leaks and undefined behavior. In summary, while it is possible to create systems that allow communication between Java and C++ components (e.g., using JNI - Java Native Interface), directly inheriting a Java class in C++ or vice versa is impractical and fraught with complexities due to the fundamental differences in the two languages' design and execution environments. "AchieversIT" can provide training in both Java and C++ to help you understand these languages in-depth and explore ways to integrate them when necessary.


What is Java Portable?

The ability to run your code which is written in a high level language without actually transforming into a different low level language based on the platform you are about to run. This is called portability. Java is indeed known for this due to the fact that it runs on something called as an intermediate code called bytecode. JVM is the Java Virtual machine that reads the byte code and executes your application.

Related questions

A boat goes upstream 30 miles and downstream 44 miles in 10 hours It also goes upstream 40 miles and downstream 55 miles in 13 hours Find the rates of the stream and of the boat?

The speed of the stream is 3mph and that of the boat is 8mph.If vs is the speed of the stream, in mph and vb is the speed of the boat in mph, then:upstream speed = vb - vs mphdownstream speed = vb + vs mphThus:30/(vb-vs) + 44/(vb+vs) = 1040/(vb-vs) + 55/(vb+vs) = 13Multiplying both equations by (vb2-vs2) gives:30(vb+vs) + 44(vb-vs) = 10(vb2-vs2)40(vb+vs) + 55(vb-vs) = 13(vb2-vs2)which rearrange to:vb2-vs2 = (74vb - 14vs) / 10vb2-vs2 = (95vb - 15vs) / 13so, using the equality:(74vb - 14vs) / 10 = (95vb - 15vs) / 1312vb = 32vsvb = 8/3 vsthus using the first equation and the equality just worked out:10((8/3 vs)2 - vs2) = 74(8/3 vs) - 14vsvs10(64 / 9 - 1) = 74 x 8 / 3 - 14vs10(55)/9 = (592 - 42)/3vs550/9 = 550/3vs = 3 mphvb = 8/3 x 3 mph = 8 mph


Important points of oops vs pop in java?

java is object oriented language.it's a platform independent.in java we don't use pointers


Can I legally distribute for no charge a Visual Basic program that I wrote or do I need some type of license?

You need to develop the VB program with a non student version of VB/VS. You can distribute the redistributable DLL's, but you can not distribute the debug versions. See your EULA.


Variable vs property in net?

Property allows access to a variables like a get-set method in Java.


Who were the leaders or commanders of the Battle of the Java Sea?

Dutch Admiral Karl Doorman vs IJN Admiral Takagi.


Is Mark Sheehan of the script related to Ed Sheehan the singer?

Sheehan vs Sheeran (with an R) Mark Sheehan, member of the band "The Script" is NOT related to Ed Sheeran, the english singer/songwriter.


Can you download Plants vs Zombie 2 PC?

I think you have to have the java thing, the lastest flash player and then you have to follow the steps.


Which Red vs Blue character is not in the script for Reconstruction?

Doc. Though he is mentioned, he does not actually appear. Lopez, Donut, and Shiela.


When will there be a Freddy vs Jason 2?

There are no plans for Freddy Vs. Jason 2. The original did very well in theaters but no script could be made that the studio found acceptable enough to make into a movie.


What happens in wizard vs werewolves script?

Alex falls in love with a werewolf and the werewolf falls in love with her and they live happily ever after.....................or do they?....................


Inheritance vs instantiation in Java?

Inheritance is simply when you get properties and methods from a superclass, whereas instantiation is actually allocating an object in memory based on your class.


How world war 2 fought on sea?

WWII was histories last: 1. Cruiser fleet actions (Battle of Java Sea) 2. Carrier clashes 3. Battleship vs Battleship clashes (Suriago Strait) 4. Destroyers vs Destroyers (Guadalcanal)