+ 8

What is the difference between java nd java script?

28th Dec 2017, 4:22 PM
Kisalaya Kishan
Kisalaya Kishan - avatar
7 Antworten
+ 14
Java is an Object Oriented Programming (OOP) language created by James Gosling of Sun Microsystems. JavaScript is a scripting language that was created by the fine people at Netscape and was originally known as LiveScript. JavaScript is a (very) distant cousin of Java in that it is also an OOP language. Many of their programming structures are similar. However, JavaScript contains a much smaller and simpler set of commands than does Java. It is easier for the average weekend warrior to understand.
28th Dec 2017, 4:30 PM
Scooby
Scooby - avatar
+ 3
Key differences between Java andJavaScript: Java is an OOP programming language while Java Script is an OOP scripting language.Java creates applications that run in a virtual machine or browser whileJavaScript code is run on a browser only. Java code needs to be compiled while JavaScript code are all in text.
28th Dec 2017, 4:26 PM
Android Boi
Android Boi - avatar
+ 2
import java.util.Scanner; public class Program { public static void main(String[] args) { System.out.println("Enter Any Character "); Scanner inputchar=new Scanner(System .in); char ch; ch=inputchar.next(); switch(ch) { case a: System.out.println("vowel"); break; case i: System.out.println("vowel"); break; case e: System.out.println("vowel"); break; case o: System.out.println("vowel"); break; case u: System.out.println("vowel"); break; default: System.out.println("not a vowel"); break; } } } find errors
6th Jan 2018, 5:28 PM
Azad khan
0
😂😂😂😅😅😅😂😂😂
28th Dec 2017, 4:39 PM
poorva mahajan
0
what happened
28th Dec 2017, 4:40 PM
poorva mahajan