Refers to structural definition of class unit in object-oriented languages.
My app uses two databases (separate files). To handle these databases I have created two Helper classes which extend SQLiteOpenHelper, …
android database sqlite class-designI encountered a strange bug in python where using the __new__ method of a class as a factory would lead …
python design-patterns inheritance class-designIn java adjectives ending in -able are interfaces Serializable, Comparable etc... So why is Throwable a class? Wouldn't exception handling …
java exception-handling class-designI'm trying to understand a bit how Python (2.6) deals with class, instances and so on, and at a certain point, …
python oop inheritance class-designThere is a Checkstyle rule DesignForExtension. It says: if you have a public/protected method which is not abstract nor …
java inheritance class-designI am trying to create a function that is passed a parameter x and returns a new class C. C …
python python-3.x class-design factory-patternSuppose I have the following class hierarchy: Class A {...} Class B : A {...} Class C : A {...} What I currently have is …
c# .net class generics class-designI watched a talk by Douglas Crockford on the good parts in Javascript and my eyes were opened. At one …
javascript oop constructor class-designI'm creating my first Android app. I have avoided to label associations with user or system interactions (e.g. I …
android uml class-design class-diagram object-oriented-analysisThis was asked as an interview question. Design a tic tac toe using object oriented principles. The interviewer said he …
java oop class-design