+ 8
What is the difference between java nd java script?
7 odpowiedzi
+ 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.
+ 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.
+ 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
0
😂😂😂😅😅😅😂😂😂
0
what happened



