Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
395 B
1
Indexable
Never
package labpgm7a;

public class pgm7a {
public static void main(String args[])
{
	studentdata s[]=new studentdata[3];
	for(int i=0;i<3;i++)
	{
		System.out.println("*****Enter"+(i+1)+"student details");
		s[i]=new studentdata();
	}
System.out.println("student details");
for(int i=0;i<3;i++)
{
	System.out.println("\n*****"+(i+1)+"student details");
	s[i].display();
}
}

}