CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2017
    Posts
    1

    The 4 Pillar of java Programming

    Java Programming language is the most secured and safe programming language. It is said that Java is perfect Object oriented programming paradigm. And for that Java has its 4 pillars which make Java more perfect and accurate. here are the 4 pillar which makes Java a perfect object-oriented programming language

    1. Abstraction : Abstraction is one of the most important points within any object-oriented language. it gives the paradigm naming to the abstract.

    2. Encapsulation : It adds security to the methods, class, and variable. it hides the property of the methods, objects.

    3. Inheritance: : The best use of Code re-usability can be used in this pillar.

    4. Polymorphism : One name different forms.

    A Java development company gives the service of these 4 pillars of object oriented programming. and carried the most important part in the web development.

  2. #2
    Join Date
    Feb 2017
    Posts
    677

    Re: The 4 Pillar of java Programming

    I have some issues with this text in relation to Java today.

    Java Programming language is the most secured and safe programming language. It is said that Java is perfect Object oriented programming paradigm.
    When Java was introduced some 20 years ago that was probably quite close to the truth but today there is a whole bunch of other equally "perfect" general purpose languages that support OO very well, such as C++, C#, Python, Go and Swift to name a few.

    When Java was introduced it was exceptional in many ways. Today it is a mature language well worth learning but it no longer stands out the way it once did.

    Also in later years the early almost fanatical focus on OO has been relaxed. All major general purpose languages today are increasingly functional and that includes Java (as of version 8).

    If you want a glimpse of what Java might have looked like if it were invented today or where it may be heading, have a look at Scala.

    It is said that Java is perfect Object oriented programming paradigm. And for that Java has its 4 pillars which make Java more perfect and accurate. here are the 4 pillar which makes Java a perfect object-oriented programming language
    Those are pillars of OO, not of Java. The OO pillars are present in every language with OO support.

    ------

    The major feature of any OO language is the concept of class. Everything OO revolves around it:

    1. Abstraction means you program by introducing new classes as you go using existing classes (and primitives).

    2. Encapsulation means a class has a visible outside (an interface) and a hidden inside (an implementation) and that those are kept firmly separated.

    3. Inheritance has two uses. It is a way to setup a hierarchical relationships among related classes, and it is a way to reuse code (but there are better ways).

    4. OO uses so called subtype polymorphism. It means if a class is used in a piece of code, that code will also work with all other classes related to (inherited from) the class.

    -----

    The ultimate goal of OO is to make it easy to modify and extend programs. To accomplish that the pillars are just the base. The next level is the so called OO design patterns. There are around 20 original ones that should be familiar to every serious OO programmer.
    Last edited by wolle; June 12th, 2017 at 04:59 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured