-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDemo7.java
More file actions
42 lines (39 loc) · 764 Bytes
/
Demo7.java
File metadata and controls
42 lines (39 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import java.util.Scanner;
class A
{
A()
{
System.out.println("1) English ");
System.out.println("2) Hindi ");
System.out.println("3) Kannada");
System.out.println("4) Telgu");
System.out.println("5) Marati ");
System.out.println("6 ) Tamil ");
System.out.println("7 ) Panjabi");
Scanner sc=new Scanner(System.in);
System.out.print("ENter the Option : ");
int ch=sc.nextInt();
switch(ch)
{
case 1:
System.out.println("English ");
break;
case 2:
System.out.println("Hindi ");
break;
case 3:
System.out.println(" Kannda ");
break;
default :
System.out.println("not choosen any option ");
break;
}
}
}
class Demo7
{
public static void main(String args[])
{
A a =new A();
}
}