public class Student
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Student.Subject |
static class |
Student.Teacher |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name |
int |
rollnum |
java.util.List |
subjects |
java.util.List |
teachers |
| Constructor and Description |
|---|
Student(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
initializeCounter() |