+ 1

Help me to find data fild for this class'

Who can help me to find data Fields for class' First one is UnderGraduate class. the Second one PostGraduate class. In Java language

28th Mar 2021, 7:28 PM
Lisa John
Lisa John - avatar
7 odpowiedzi
+ 1
Yes that's it, Thank you a lot
28th Mar 2021, 8:05 PM
Lisa John
Lisa John - avatar
+ 1
You're welcome...
28th Mar 2021, 8:07 PM
Jayakrishna 🇮🇳
0
Question is not clear ... Where is your code to say what Data fields it have?... Do you don't know what 'data fields ' mean? Or you want an idea to how to implement data fields for those classes?
28th Mar 2021, 7:36 PM
Jayakrishna 🇮🇳
0
Jayakrishna🇮🇳 yes, right that's it I want an idea to how to implement data fields for those classes
28th Mar 2021, 7:51 PM
Lisa John
Lisa John - avatar
0
I mean what I can to use in those classes for e.g The data fields for class Student int StudentID; String StudentEmail; String StudentName; and Like this.
28th Mar 2021, 7:58 PM
Lisa John
Lisa John - avatar
0
For ug/pg, You can take datatfields as College Name Number of Courses Number of seats.. (if need empty/filled) Number of faculty.. Course fee.. Like these you can define what you need.. Is this what you looking?
28th Mar 2021, 7:58 PM
Jayakrishna 🇮🇳
0
For methods: for example Find or display details for a particular student-id by void display(Ug id1) { System. out.println(id1.StudentID + " "+id1.email + " "+ id1.name); } Here id1 is object of UG class... further implement methods to show branches, seats, fee, filled,empty, labs, ...etc
28th Mar 2021, 8:04 PM
Jayakrishna 🇮🇳