answersLogoWhite

0


Best Answer

These two concepts are not even remotely related, so listing the differences would be pointless. Far easier to simply explain what they are.

The client-server model is typically used in networking where one computer acts as the server and all computers that connect to it are known as the clients. The server does all the actual work, serving information to the clients and collecting information from the clients. The software is therefore divided into two major components known as the server and the client.

Inheritance is typically found in object-oriented programming, where one class of object derives from another class of object known as a base class.

User Avatar

Wiki User

7y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between inheritance relationship and client-server relationship in programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Difference between composition and inheritance?

The 'is a' relationship is expressed with inheritance and 'has a' relationship is expressed with composition. Both inheritance and composition allow you to place sub-objects inside your new class. Two of the main techniques for code reuse are class inheritance and object composition. Inheritance [ is a ] Vs Composition [ has a ] Building Bathroom House class Building{ ....... } class House extends Building{ ......... } is a [House is a Building] class House { Bathroom room = new Bathroom() ; .... public void getTotMirrors(){ room.getNoMirrors(); .... } } is a has a [House has a Bathroom] has a Inheritance is uni-directional. For example House is a Building. But Building is not a House. Inheritance uses extends key word. Composition: is used when House has a Bathroom. It is incorrect to say House is a Java - Fundamentals 19 Bathroom. Composition simply means using instance variables that refer to other objects. The class House will have an instance variable, which refers to a Bathroom object.


Short note on structural programming and procedural programming?

There is no difference between procedural programing language & structure programing language.


What is the difference between backtracking and dynamic programming?

The only difference between dynamic programming and back tracking is DP allows overlapping of sub problems. (fib(n) = fib(n-1)+ fib (n-2)).


Inheritence and its types in object oriented programmings?

There are only two types of inheritance in object oriented programming: Single inheritance: where a class inherits directly from just one base class. Multiple inheritance: where a class inherits directly from two or more base classes. Multi-level inheritance is often thought of as being a separate type of inheritance, however inheritance relates to a derived class and those that it directly inherits from. If a base class is itself a derived class (an intermediate class), then its base class or classes are simply indirect base classes of the derivative. But in isolation, the intermediate class either uses single or multiple inheritance, even if its base class or classes are also intermediates. Virtual inheritance is also thought of as being a separate type, however virtual inheritance doesn't change the relationship between classes within the hierarchy. the only difference virtual inheritance makes is that the virtual base class or classes are constructed by the most-derived class within the current hierarchy, rather than by their most direct descendants. In this way, only one instance of each virtual base exists in the hierarchy, rather than multiple instance as would normally exist. The actual inheritance is still single or multiple, however.


What is the difference between software programming and hardwired programming?

(d) Hardware programming languages are concurrent in nature and executed a piece of code in parallel while a software programming language are sequential in nature and executed a piece of code sequentially.

Related questions

Main deffrent between c and cpp?

C is a procedural programming language, while C++ is a multi-paradigm programming language that supports both procedural and object-oriented programming. C++ has additional features such as classes, inheritance, and polymorphism that allow for more flexible and modular code design compared to C.


difference between object and oriented program?

JAVA is an Object Based Programming Language. it doesn't provide multiple inheritance and operator overloading. while Object Oriented Lanuages provides both.


What is the distinct difference between object oriented concept and object oriented programming?

Object oriented concepts are a generalisation of the object oriented principals (encapsulation, inheritance, polymorphism and abstraction) without specifying a particular implementation of those principals. Object oriented programming is the application of those principals through an object oriented programming language.


What is the difference between java and object oriented programming?

java is a programming language/platform that embodies object oriented programming concepts. The question of what is the difference is like asking what is the difference between cars and a Volvo.


Difference between conventional programming and object oriented programming?

diff between oops and conventional programming


What is the difference between structured oriented programming procedure and oriented programming?

LOTTA


Is there a difference between estate being willed to you or inheritance?

No. Property that you receive by a will IS an inheritance. Property received from a relative under the laws of intestacy when there was no will is also an inheritance.


Difference between C and C programming language?

The C and C programming languages are one and the same. There is no difference between those languages.


What is the difference between online and offline programming?

Online programming is programming that has to occur while the computer or other device is connected to the internet. Offline programming doe not require an internet connection.


Difference between composition and inheritance?

The 'is a' relationship is expressed with inheritance and 'has a' relationship is expressed with composition. Both inheritance and composition allow you to place sub-objects inside your new class. Two of the main techniques for code reuse are class inheritance and object composition. Inheritance [ is a ] Vs Composition [ has a ] Building Bathroom House class Building{ ....... } class House extends Building{ ......... } is a [House is a Building] class House { Bathroom room = new Bathroom() ; .... public void getTotMirrors(){ room.getNoMirrors(); .... } } is a has a [House has a Bathroom] has a Inheritance is uni-directional. For example House is a Building. But Building is not a House. Inheritance uses extends key word. Composition: is used when House has a Bathroom. It is incorrect to say House is a Java - Fundamentals 19 Bathroom. Composition simply means using instance variables that refer to other objects. The class House will have an instance variable, which refers to a Bathroom object.


What is the difference between oriented programming language and high programming language?

Set/subset: Some high level programming languages are object oriented, but not all of them.


What is the difference between coding and programming?

Coding is more general -- there are many kinds of codes and different reasons for them. However, when it comes to computer slang, there is no difference between coding and programming.