0% found this document useful (0 votes)
3 views

Object oriented programming

Uploaded by

rashmimaruthi2
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Object oriented programming

Uploaded by

rashmimaruthi2
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Object oriented programming

The task of the programming


Programming involves writing a instructing that enable a
computer to carry out a single task or a group of task
writing these sets of instruction which are known of
programs or software requires a computer programming
language and resolving sets of instruction so that the
program works quickly so that the program works quickly.
The rules of any language make up its syntax. An
interpreter is a programming language that translates
programming language instruction one line at the time a
compiler works by translating the entire program at one
time. Usually you do not choose whether to choose the
computer compiler or an interpreter instead the software
you to develop program in a particular language contains
one or other. C++ is usually thought of as a compiled
language although interpreter program are available for
it.
Programmers called a logical error semantic error for
example if you misspell a programming word language
word you commit a syntax error but if you use a correct
word in the wrong syntax content you commit a semantic
error.
Object oriented programming
Object oriented programming use all the features of
procedural programs you just read about they contain
variables that are operated by the instruction written in
the sequence selection and loop statement however
object oriented programming requires a different way of
programming of thinking and add several new concepts
of programming.
The basic principles behind using the object oriented
programming techniques are :
Objects , classes , inheritance and polymorphism.
Each of these principles is complex as you work though
these lessons and exercises in these text.
Objects and classes
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is convectional but not required to behind object names
with a lowercase letter and to begin class names with an
uppercase letter.
Inheritance
The concept of using classes provides a useful way to
organize objects it is especially useful because classes
are reusable
Polymorphism
Programing modules might occasionally need to change
the way they operate depending on the constant. Object-
oriented programs use polymorphism to carry out the
same polymorphism to carry out the same operation in a
manner customized to the object. Such differencitaion is
not allowed in laungae that are’nt object oriented.
Without polymorphism, you would have to use a separate
module or method name for a method that multiplies two
numbers concept of using classes provides a useful way
to organize objects it is especially useful because classes
are reusable concept of using classes provides a useful
way to organize objects it is especially useful because
classes are reusable concept It is difficult to discuss
objects without mentioning classes it is equally difficult to
discuss classes without bringing up objects an object is a
thing a classes consists of a category of the thing an
object is a specific item that belongs to a class it is called
an instance of the class a class defines structure and the
methods that apply to the class that can be applied to
objects. It is difficult to discuss objects without
mentioning classes it is equally difficult to discuss classes
without bringing up objects an object is a thing a classes
consists of a category of the thing an object is a specific
item that belongs to a class it is called an instance of the
class a class defines structure and the methods that
apply to the class that can be applied to objects. It is
difficult to discuss objects without mentioning classes it is
equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that can be applied to objects.
It is difficult to discuss objects without mentioning classes
it is equally difficult to discuss classes without bringing up
objects an object is a thing a classes consists of a
category of the thing an object is a specific item that
belongs to a class it is called an instance of the class a
class defines structure and the methods that apply to the
class that is how India is developed.

You might also like