zoukankan      html  css  js  c++  java
  • 程序设计方法和过程

    程序设计= 数据结构+算法

    程序设计(Programming)是指设计、编制、 调试程序的方法和过程。它是目标明确的智力活动。

    由于程序是 软件的本体,软件的质量主要通过程序的质量来体现,在软件研究中,程序设计的工作非常重要,内容涉及到有关的基本概念、工具、方法以及方法学等。

    程序设计通常分为问题建摸,算法设计,编写代码,编译调试和整理并写出文档资料五个阶段。

     

     1 package Com.TableTest;
     2 
     3 public class TableText_23 {
     4     public static void main(String[] args) {
     5     
     6         new ZooCan().fight();
     7         new AnimalsCan().fly();
     8         new AnimalsCan().swim();
     9     }
    10 }
    11 interface CanFight {
    12     void fight();
    13 }
    14 
    15 interface CanSwim {
    16     void swim();
    17 }
    18 
    19 
    20 interface CanFly {
    21     void fly();
    22 }
    23 
    24 class ZooCan{
    25     
    26     public void fight(){
    27         System.out.print(" fight ");
    28     }
    29 }
    30 
    31 class AnimalsCan extends ZooCan implements CanFight,CanFly,CanSwim{
    32 
    33     public void fly() {
    34         System.out.print(" fly ");
    35     }
    36 
    37     public void swim() {
    38         System.out.print(" swim ");
    39     }
    40 
    41 }
  • 相关阅读:
    【iOS】找工作的面试题集锦
    APP项目优化--启动速度优化篇
    【Swift】Timer定时器到底准不准确?
    leetcode刷题 495~
    leetcode刷题 464~
    leetcode刷题 441~
    leetcode刷题 420~
    leetcode刷题 396~
    leetcode刷题 373~
    leetcode刷题 307~
  • 原文地址:https://www.cnblogs.com/borter/p/9393749.html
Copyright © 2011-2022 走看看