class-design
Database model to object oriented design?
How would I design classes say in c# to represents a database model? Given the f开发者_StackOverflow社区ollowing tables and fields for a database,[详细]
2023-03-17 16:05 分类:问答What is the logic behind having a mutable and immutable versions of classes like NSArray, NSDictionary etc in Objective C?
Why do common collection classes in Objective C like NSString, NSArray, NSDictionary etc have a mutable as well as 开发者_如何学Can immutable version. What is the logic behind defining them separately[详细]
2023-03-17 14:11 分类:问答addEventListener for a Function in a Different Class
Quick ActionScript question, since I\'m still getting used to the language: Is it possible to pass addEventListener a function that is in a different class?I.E.I have Model call addEventListener(Even[详细]
2023-03-17 09:35 分类:问答PHP non-client coder class execution
Simply question of theory When building a class that is not going to be used by any other client-coders, what is the best method of execution? Consider the following:[详细]
2023-03-17 06:07 分类:问答Review my design : Tic tac toe game using OO methodology [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-03-16 23:36 分类:问答PHP - Alternating email selection based on a set schedule
Ok, Here is the situation, I am looking for some general input on the logic of this class. The purpose of this class is to: query a schedule database for employees that are currently working, and sele[详细]
2023-03-16 13:23 分类:问答Java main-class in python-syntax
this is an example Java Class with a main method. public class MyMainClass{ public static void main(){ doThings();[详细]
2023-03-15 08:19 分类:问答Design dilemma: who should handle disposable parameter?
If my class uses disposable resource in it\'s constructor (DbConnection if it matters) should I implement IDisposable in my class and dispose DbConnection object, or let user handle disposal of DbConn[详细]
2023-03-14 23:36 分类:问答Pass class as argument
I have an api method I need to call. It has 10 parameters. I have attempted to make a class that holds all the information the method requires. Can I then simply pass the object into the method?[详细]
2023-03-14 14:18 分类:问答Java Classes versus C++ Classes
I just started learning to develop for the Android, and I come from a strictly C++ background. I found that Java does not support Multiple Inheritance, but do we really have to create a seperate .java[详细]
2023-03-14 06:37 分类:问答