Top down and Bottom up programming

前端 未结 10 1263
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-30 03:37

Why do we say languages such as C are top-down while OOP languages like Java or C++ are bottom-up? Does this classification have any importance in software development?

10条回答
  •  执念已碎
    2021-01-30 03:46

    C is structured language and the sequence of programs is from top to bottom. starting from the main method.

    while OOP depends upon number of classes and objects. flow of program is not in top down approach in OOP

提交回复
热议问题