Untitled
Anonymous
plain_text
02/29/2024 2:39 PM
304 B
22
Indexable
class Student
{
int id;
String name; void display()
{
System.out.println(id+" "+name);
}
public static void main(String args[])
{
Student s1=new Student(); Student s2=new Student(); s1.display();
s2.display();
}
}
Editor is loading...
Leave a Comment