2 Answers - Sort by: Date | Rating
Programming languages are of two types, namely;
(a). Modular or function-based Programming Language
(b). Object-oriented Programming Language.
(a). Modular Programming Language: A programming language is called Modular if it supports methods. A method or a function is a block or section of code that is logically associated with each other. This section or block of code has got its specific or particular name. Whenever a programmer wants to execute the specific block of code s/he used the name of that particular section or block of code.
(b). Object-oriented Programming Language: A programming language is called Object oriented if it has the support to create or develop classes in it. Class is an abstraction of a real-world object and is used to define the characteristics, qualities and actions performed by the object for which the class is written. For example, a teacher is an object and if we want to write the class for a teacher then it'll include the characteristics, specifications and actions perform by a teacher.
C is a modular programming language and doesn't have object-oriented features in it.
C++ supports both modular and object-oriented features.
Java is a completely object-oriented language as it doesn't allow modular programming. In Java every object has to be defined in terms of a class.
(a). Modular or function-based Programming Language
(b). Object-oriented Programming Language.
(a). Modular Programming Language: A programming language is called Modular if it supports methods. A method or a function is a block or section of code that is logically associated with each other. This section or block of code has got its specific or particular name. Whenever a programmer wants to execute the specific block of code s/he used the name of that particular section or block of code.
(b). Object-oriented Programming Language: A programming language is called Object oriented if it has the support to create or develop classes in it. Class is an abstraction of a real-world object and is used to define the characteristics, qualities and actions performed by the object for which the class is written. For example, a teacher is an object and if we want to write the class for a teacher then it'll include the characteristics, specifications and actions perform by a teacher.
C is a modular programming language and doesn't have object-oriented features in it.
C++ supports both modular and object-oriented features.
Java is a completely object-oriented language as it doesn't allow modular programming. In Java every object has to be defined in terms of a class.
0
0
I'm Chinese, My English is not good. I think the main difference between C or C++ and Java in Object-oriented. In Language C or C++, we can extend one more classes. There are many problems from the method of extending, like the sequence of initializing the class before using it and the sequence of destroying the class. It's very hard for the beginner. So Java doesn't allow extending from more one class. On the other side , there is the same in C++ and Java.
0
0
- What Does The Name Strover Mean?
- What Does Strover Mean?
- What Does Honey Boy Mean?
- How To Use Continental In A Sentence?
- How Do You Spell "Yen" In Chinese?
- How Do You Use Continental In A Sentence?
- How Meaning Is Captured In Symbols?
- How Do You Spell "Always Thinking About You" In Spanish?
- What Are The Objectives Of The Drink Vita Malt?
- What Do The Name Alexa Mean?
- Where Does The Name Cassie Originate From?
- What Does Surface Mean?
- What Does Separates Mean'?
- What Does Separates Mean?
- What Is The Meaning Of Composed?
- When Does Sarah Jane Adventures Give?
- What's A Good Middle Name For Gabby And Tyler?
- How Do You Say, "Good Morning, Everybody" In Japanese?
- Where Does Emily Hicks Live?
- How Do U Spell Greeenn?
- How Do You Spell Greeen?
- How Do You Spell Ittiotrt?
- How To Say "Beautiful Music" In Latin?
- How Old Is Breanna Chaney?
- How Do You Pronounce Hello In Polish?
- How Is Java More Secured Than Other Languages?
- How Does Java Varies From Otherprogramming Languages?
- What Are The Advantages Of Using Java Programming Languages?
- Where Can I Find Out About Computer Languages Including C, C++ And Java?
- What Is The Easiest Way To Write Programs In Languages Such As C And Java?
- Why Java Script Is Better Than Other Scripting Languages For Web Design?
- What Is The Limitation And Draw Back Of C++, C# And Java Programming Languages?
- What Is The Difference Between C, C++ And Java?

New Comment - Comments are editable for 5 min.