Polymorphism is the capacity to allow objects having different internal structures to share the same external interface. It is the ability for a message or data to be processed in more than one form.
attention@computerscienceexpertise.com PDF created with pdfFactory Pro trial version www.pdffactory.com
ADVANTAGES OF OOP
o Elimination of redundant coding system and usage of existing classes through inheritence.
o Programs can be developed by sharing existing
modules.
o Security of data values from other segments of the program through data hiding.
o Possibility of co-existence of multiple instances of an object without any interference.
attention@computerscienceexpertise.com PDF created with pdfFactory Pro trial version www.pdffactory.com
Few Examples of OOP Languages
o The different Object Oriented
Programming Languages are
C++, Java, Smalltalk, Simula, Eiffel
etc.
attention@computerscienceexpertise.com PDF created with pdfFactory Pro trial version www.pdffactory.com
History of JAVA
o JAVA is an object oriented programming language. It was developed by Sun Microsystems in 1991 as a part of the research work to develop software for
consumer electronics. It was designed to be small, simple and portable across platforms and operating systems, both at the source and at the binary level. It was developed as a full-fledged programming
language in which one can accomplish the same sorts of tasks and solve the similar problems that one can in other programming languages, such as C++,
BASIC etc.
attention@computerscienceexpertise.com PDF created with pdfFactory Pro trial version www.pdffactory.com
About JAVA
o Modeled after C++, the Java
language was designed to be small,
simple, and portable across platforms
and operating systems, both at the
source and at the binary level.
attention@computerscienceexpertise.com PDF created with pdfFactory Pro trial version www.pdffactory.com
Why JAVA
o The Java language was developed at Sun
Microsystems in 1991 as part of a research project to develop software for consumer electronics devicestelevision sets, VCRs, toasters, and the other sorts of machines you can buy at any department store. Java's goals at that time were to be small, fast, efficient, and easily portable to a wide range of hardware devices. It is those same goals that made Java an ideal language for distributing executable programs via the World Wide Web, and also a general-purpose programming language for developing programs that are easily usable and portable across different platforms. This is the major reason why Java is said to be the most successful platform independent language.
attention@computerscienceexpertise.com PDF created with pdfFactory Pro trial version www.pdffactory.com
Advantages of Java
o Java as a language has significant
advantages over other languages and
other programming environments
Java Learning Made Easy
Start from the beginning
