lundi 13 février 2017

Java - Get Object From Another Class

Vote count: 0

I have 3 classes..,, and i created an object in class with code like teacher c = new teacher();... i want to use the object that i created on class in the student.. how can i use it on student class? i tried using other solution, but i got only the solution for using object that created on 1 class... e.g : i create an object on class from class... and i want to use it on student.. not creating object on class from teacher, and use it on student..

asked 1 min ago

Let's block ads! (Why?)

Java - Get Object From Another Class

Aucun commentaire:

Enregistrer un commentaire