-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPractice.java
More file actions
30 lines (30 loc) · 742 Bytes
/
Practice.java
File metadata and controls
30 lines (30 loc) · 742 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
public class Practice{
public static void main(String[] args) {
System.out.println("Hello, I am Yash");
myFullName();
Practice age=new Practice();
age.myAge();
Practice.method();
}
public static void myFullName(){
System.out.println("Yash S");
}
public void myAge(){
System.out.println("22");
}
public Practice(){
System.out.println("From Pusad");
}
public static void method(){
System.out.println("BIT");
}
public static void method2(){
System.out.println("INIT");
}
public static void method3(){
System.out.println("IT");
}
public void myCollege(){
System.out.println("BIT");
}
}