Hi all,
I am doing an OO program but I'm not sure if encapsulation is being violated.
When declaring lists (ex: List<listA> people = new List<listA>(); ), are these declared in the main class or in their respective class? also, when loading all the data on start-up of the application, shell this be performed in the main class as well?
Is it true that the methods must not include a lot of line coding?
Thanks in advance for your help and sorry for my poor English.
I am doing an OO program but I'm not sure if encapsulation is being violated.
When declaring lists (ex: List<listA> people = new List<listA>(); ), are these declared in the main class or in their respective class? also, when loading all the data on start-up of the application, shell this be performed in the main class as well?
Is it true that the methods must not include a lot of line coding?
Thanks in advance for your help and sorry for my poor English.