OOP,这个是什么意思我想大家都比较清楚吧,我觉得OOP其实最主要培养的就是自己的分析能力,对你的程序事先要做一翻很严密规划,把各个功能项,要归纳为类的模块都找出来,然后代码嘛,可以慢慢来实现的,其实分析很重要

解决方案 »

  1.   

    如果你只能把现实世界中存在的物体归纳成为类只能说你是刚刚入门,在系统中把根本在现实中没有关系的东西中在软件中的共性找出来,然后归纳成为类。这样才能够理解OOP的本质。
    对于多态也是理解OOP的本质,比如我们要有很多的提交查询的窗体,那么我们就用一个对象来实现这个接口,并在系统中生成这个对象的句柄,但是句柄中的存放的是实现接口方法的哪个子类对象。然后调用接口类型对象就可以实现多态了。
    我对OOP很感兴趣,如果有问题大家讨论呀!
      

  2.   

    When I first started learning how to program Java, I was left totally confused about this whole "object-oriented" thing. What books I had explained the concept poorly, and then went straight on to advanced programming tips. I felt frustrated and lost. Not being particularly math-oriented, I needed a good analogy to help me understand the nature of Java.I have created this brief tutorial not in order to be an exhaustive Java resource, but rather to introduce readers to the concepts of object oriented programming in a way that is non-threatening. If all goes well, we'll have you all in pocket protectors before the end of the hour.There are three different levels of this tutorial, coded by color. Green is for those readers who want the most basic introduction. It is targeted at those who are unsure what object-oriented programming is, and could use a good analogy to make things clearer. Yellow is for those who want to be able to understand object-oriented programming just enough to be able to read and follow it, but are not yet ready to learn the intricacies of coding Java. And finally, the third level, red, is for you daredevils who want to be able to program in Java, but just want to ease into it slowly.In short, the green text gives a "plain English" version of the code that would be necessary, the yellow uses that English in a way that more closely resembles the format of code, and the red is the actual code that would be necessary for the program to work. Readers of all levels are encouraged to skip between the colors to deepen their understanding. Finally, although this tutorial operates mostly through analogy, innuendo, and intrigue, those words that appear in boldface are the actual terms used by Java programmers (ooooh!), so try to remember them as you go along
     
      

  3.   

    OOP(Object Oriented Programming)I think this is a better way to deel with some question in our programming .every thing is Object.
      

  4.   

    look at a book by yourself
      

  5.   

    感觉你好像在做概要设计。^_^不过,OOP可以引申到各个方面。
    看个人理解了。