-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhello.java
More file actions
46 lines (43 loc) · 776 Bytes
/
Copy pathhello.java
File metadata and controls
46 lines (43 loc) · 776 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
43
44
45
46
import java.util.*;
/* public class lt6tes
{
public static void main(String[] args)
{
Scanner s=new Scanner(System.in);
System.out.println("pankaj sir is the best cc");
}
} */
package nprog
import nprog*;
public class lt6test
{
public static void desp1()
{
System.out.println("hello sir");
}
void desp2()
{
System.out.println("Deafult statementd:");
}
}
class example
{
public static void main(String args[])
{
lt6test n1=new lt6test();
n1.desp1();
}
}
package c1;
class hello
{
public void m1()
{
System.out.println("m1 of pankajs");
}
public static void main(String args[])
{
hello ob=new hello();
ob.m1();
}
}