Skip to content

Commit 3dcac94

Browse files
authoredSep 3, 2020
Update object1.java
1 parent a8c3b1d commit 3dcac94

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
 

‎object1.java

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
class student {
1+
class student
2+
{
23
int id;
34
String name;
45

56
}
6-
public class object1{
7-
public static void main(String[] args) {
7+
public class object1
8+
{
9+
public static void main(String[] args)
10+
{
811
//creating object of the class student
912
student s1 = new student();
1013
student s2 = new student();

0 commit comments

Comments
 (0)