oop
Python, overiding itself
I\'ve a following problem. I have a model class in MVC and it has a special purpose. In certain cases it should be able to override itself. Is this kind of behavior possible?[详细]
2023-04-12 02:27 分类:问答Query string not handled from child class
This is my first time here so i hope you can help me. This is my problem: I\'m busy with a log-in script in oop.[详细]
2023-04-12 00:35 分类:问答Interface inside Class
Q1. Can I have an interface insi开发者_运维知识库de a class in java? Q2. Can I have an class inside an interface?[详细]
2023-04-12 00:14 分类:问答What is the biggest drawbacks on creating classes of everything? Instead of String name = person.getName() it would be Name name = person.getName();
What is the biggest drawbacks if I were to create type of everything, instead of using Strings and primitive types?[详细]
2023-04-12 00:11 分类:问答Shake event detection in all view controllers
Is this possible in iOS, or do I really have to register a shake event detection in every single view controller?[详细]
2023-04-11 23:43 分类:问答Learning PHP PDO.. would like to know the correct way to use it when many queries are involved
In the past I would just create a class to connect to a database, and then run a bunch of methods to run queries.. like so:[详细]
2023-04-11 23:01 分类:问答How would you define polymorphism to a CS 101 student? [duplicate]
This qu开发者_Python百科estion already has answers here: Closed 11 years ago. Possible Duplicate: Try to describe polymorphism as easy as you can[详细]
2023-04-11 22:51 分类:问答Extending a Webapp - Include user and password
They always talk about extendability and flexibility when writing code, but here I am wanting to expand my webapp and I have no idea how to do it.[详细]
2023-04-11 22:24 分类:问答Overriding to_s in rails model... possible?
I\'ve got this model class Question < ActiveRecord::Base has_many :votes def to_s \"hello?\" end end and when I attempt to display a Question with <%= @qu开发者_如何学Pythonestion %>[详细]
2023-04-11 22:16 分类:问答Building the right model in MVC design
I\'m posting a ghost here, that daunts me for some years. It\'s a question about how to build the right model, the right objects.[详细]
2023-04-11 21:48 分类:问答