Wednesday, 20 June 2012

Check this out!



(OOP) represents an attempt to make programs more closely model the way people think about and deal with the world. In the older styles of programming, a programmer who is faced with some problem must identify a computing task that needs to be performed in order to solve the problem. Programming then consists of finding a sequence of instructions that will accomplish that task. But at the heart of object-oriented programming, instead of tasks we find objects- entities that have behaviours, that hold information, and that can interact with one another. Programming consists of designing a set of objects that model the problem at hand. Software objects in the program can represent real or abstract entities in the problem domain. This is supposed to make the design of the program more natural and hence easier to get right and easier to understand.

An object-oriented programming language such as JAVA includes a number of features that make it very different from a standard language. In order to make effective use of those features, you have to “orient” your thinking correctly.

63 comments:

  1. An object-oriented program will usually contain different types of objects, each type corresponding to a particular kind of complex data to be managed or perhaps to a real-world object or concept such as a bank account, a hockey player, or a bulldozer.

    ReplyDelete
    Replies
    1. wow how nice hehehe hope we can master the use of OOP

      Delete
    2. kaya yan.. my background naman tayo sa TURBO C. :)

      Delete
  2. Object-oriented programming (OOP) is a programming language model organized around "objects" rather than "actions" and data rather than logic. Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data.

    ReplyDelete
    Replies
    1. follow up for your statement

      Objects are key to understanding object-oriented technology. Look around right now and you'll find many examples of real-world objects: your dog, your desk, your television set, your bicycle.

      Delete
  3. What? Do you mean before it was called OOP? Because many people would argue that early use of OOP techniques began with binding behavior to references. And what any 'language' or 'syntax' does is provide some discipline to remove need for SelfDiscipline. But 'BBR' was listed as a 'technique' and not a definition of OOP.

    ReplyDelete
    Replies
    1. yeah thats true!!!BBR is a technique..

      Delete
  4. Mark Daryl Superstar4 July 2012 at 18:23

    so amazing haha :)

    ReplyDelete
  5. If you've never used an object-oriented programming language before, you'll need to learn a few basic concepts before you can begin writing any code.
    Object-oriented programming is a method of programming based on a hierarchy of classes, and well-defined and cooperating objects.

    ReplyDelete
  6. OM! The blog's layout is commendable. I hope we also have a chatbox. Haha! Btw, programming in Java this morning was rewarding. Now, I have an idea about the difference between OO paradigms and the other ones we used before like C and VisualBasic.

    ReplyDelete
    Replies
    1. yeah i agree to that.. hope the admin would do so...

      Delete
    2. do we really have to say our comments/opinions in ENGLISH??jaja
      anyways, i'll just go with the flow.
      Another suggestion,Admins should have to make these comments a part of the ARCHIVE so that whenever a member or a visitor visits this site they can easily see our opinions or insights about this blog.
      (NOSEBLEED!!) ;)

      Delete
  7. Object-oriented programming has roots that can be traced to the 1960s. As hardware and software became increasingly complex, manageability often became a concern. Researchers studied ways to maintain software quality and developed object-oriented programming in part to address common problems by strongly emphasizing discrete, reusable units of programming logic[citation needed]. The technology focuses on data rather than processes, with programs composed of self-sufficient modules ("classes"), each instance of which ("objects") contains all the information needed to manipulate its own data structure ("members"). This is in contrast to the existing modular programming that had been dominant for many years that focused on the function of a module, rather than specifically the data, but equally provided for code reuse, and self-sufficient reusable units of programming logic, enabling collaboration through the use of linked modules (subroutines). This obvious fact seems to have been deliberately overlooked or ignored in earlier editing and needed stating. It is clearly not the only method of achieving these goals implied in earlier article. This more conventional approach, which still persists, tends to consider data and behavior separately.
    An object-oriented program may thus be viewed as a collection of interacting objects, as opposed to the conventional model, in which a program is seen as a list of tasks (subroutines) to perform. In OOP, each object is capable of receiving messages, processing data, and sending messages to other objects. Each object can be viewed as an independent "machine" with a distinct role or responsibility. The actions (or "methods") on these objects are closely associated with the object. For example, OOP data structures tend to "carry their own operators around with them" (or at least "inherit" them from a similar object or class) - except when they have to be serialized.

    ReplyDelete
    Replies
    1. Ano ngay yan? Bat ang haba? di ba comment? hinde article vhong. HAha! Peace!

      Delete
    2. ahahah..ok lang yan cguro comment with advanced reading..:)

      Delete
    3. haha lol supurb...

      Delete
    4. OH COMMANDER! laban kung laban.. jaja

      Delete
  8. Rommelle San Juan5 July 2012 at 02:30

    The key to Java's platform independence is simplicity. It achieves this by discarding some of C++ features and adding some of its own and Java is simpler and stricter than C++ it makes some compromises. BTW our blog's layout is great!

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. The reason that why Java is much simpler than C++ is because Java uses automatic memory allocation and garbage collection where else C++ requires the programmer to allocate memory and to collect garbage.

    ReplyDelete
    Replies
    1. thumbs up :)

      Delete
    2. At least, c++ is more related to Java than other programming languages. Lucky that we have a background in programming using c++ that will make our understanding with Java easier. The only problem is that, Java is harder to understand and to learn when we don't have any knowledge about c++.
      :) ustu ta kunak?

      Delete
  11. cathlyn mosuela5 July 2012 at 05:34

    nice......Java is also the first choice for computer science programs in many universities. Its simple and intuitive syntax, or grammar, helps beginners feel at ease with complex programming constructs quickly.

    ReplyDelete
    Replies
    1. yeah.. most of the applications we are using today even games are programmed in java..

      Delete
  12. Mark Gil Pascua5 July 2012 at 06:25

    nice!!! your right cathlyn! like!

    ReplyDelete
  13. oop is one interesting subject.....this blog is soooooooooooooo beautiful.....galing ng mga admi:-)

    ReplyDelete
  14. I learned a lot in this topic.. :))) because of this presentation, my mind was set to study more about java.

    ReplyDelete
  15. An object-oriented program may thus be viewed as a collection of interacting objects, as opposed to the conventional model, in which a program is seen as a list of tasks (subroutines) to perform. In OOP, each object is capable of receiving messages, processing data, and sending messages to other objects.The first step in OOP is to identify all the objects you want to manipulate and how they relate to each other, an exercise often known as data modeling.

    ReplyDelete
  16. OOP was developed to increase the reusability and maintainability of source code. Transparent representation of the control flow had no priority and was meant to be handled by a compiler. With the increasing relevance of parallel hardware and multithreaded coding, developer transparent control flow becomes more important, something hard to achieve with OOP.

    ReplyDelete
  17. grabe huh :P
    thumbs UP 3A !

    ReplyDelete
  18. In order to clearly understand the object orientation, let’s take your “hand” as an example. The “hand” is a class. Your body has two objects of type hand, named left hand and right hand. Their main functions are controlled/ managed by a set of electrical signals sent through your shoulders (through an interface). So the shoulder is an interface which your body uses to interact with your hands. The hand is a well architected class. The hand is being re-used to create the left hand and the right hand by slightly changing the properties of it.

    ReplyDelete
  19. This comment has been removed by the author.

    ReplyDelete
  20. OM! That is awesome :))
    Walang ma i comment ee.

    ReplyDelete
  21. An object-oriented programming language such as JAVA includes a number of
    features that make it very different from a standard language. In order to make effective use of those features, you have to “orient” your thinking correctly.

    ReplyDelete
  22. Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, messaging, modularity, polymorphism, and inheritance. Many modern programming languages now support OOP, at least as an option.

    Soure: http://en.wikipedia.org/wiki/Object-oriented_programming

    ReplyDelete
  23. right!! i agree =)

    ReplyDelete
  24. This comment has been removed by the author.

    ReplyDelete
  25. Mahirap sa umpisa ang OOP. Pero habang tumatagal dumadali na lang siya kung nakikinig ka lang sa instructor

    ReplyDelete
    Replies
    1. hindi ka lang naman makikinig sa instructor dapat self study din .

      Delete
  26. What is Java Update?
    Java Update is a feature that keeps your computer up-to-date with the latest Java releases. The Java Update feature connects to java.com at a scheduled time and checks to see if there is an update available.

    http://www.java.com/en/download/help/java_update.xml

    ReplyDelete
  27. What can Java not do?
    Well, to be honest, there is nothing that Java can't do. Java is a "complete" language; the only limits are programmer imagination and ability. This book aims to get you acquainted with the basics of the language so you can create the software masterpiece of your dreams.


    http://en.wikibooks.org/wiki/Java_Programming/Introduction

    ReplyDelete
  28. Bryan Estocapio10 July 2012 at 22:46

    What an informative comments guys. Hope to have more! :)
    When you learn a programming language like Java, You learn to work with two types of classes: Those that have already been developed by the language’s creators and your own new, customized classes. bow:)

    ReplyDelete
  29. wla n ako masabi, sinabi nyo na lahat e .. :D
    -evilLaugh-

    ReplyDelete
  30. DID YOU KNOW THAT...

    in java environment, PROGRAMMING STATEMENTS written in high level programming language are called SOURCE CODE. It is actually the java file we create. and then the JAVA COMPILER converts the source code into a binary program called BYTECODES. the JAVA INTERPRETER checks the bytecodes and communicates with the OPERATING SYSTEM, executing these bytecodes instruction line by line within the JAVA VIRTUAL MACHINE.
    and then, the java program is now executed.

    -Joyce Farrell

    ReplyDelete
  31. This comment has been removed by the author.

    ReplyDelete
  32. Hey, this site will lead you to the Top five best sites for Java... go check it out . :)

    http://www.makeuseof.com/tag/top-5-websites-for-java-application-examples/

    ReplyDelete
  33. I Recommend that no matter what, you should pick up a book or two on Java. Books allow someone to focus almost completely, whereas the internet is oftentimes shrouded by distraction or multitasking. I personally find that owning the book is best, since it gives me the capability to highlight important pages or mark specific sections with a sticky note. This works best for me, but of course your mileage may vary.

    ReplyDelete
  34. Duke the Icon

    Another major byproduct of the Green project was a little cartoon character named "Duke". Duke was invented and first drawn by Joe Palrang and has become the icon for Java.

    ReplyDelete
  35. JAVA IS EVERYWHERE! Thats it! Ching! Haha

    ReplyDelete
  36. high-level programming language developed by Sun Microsystems.Java is an object-oriented language similar to C++, but simplified to eliminate language features that cause common programming errors.Java is a general purpose programming language with a number of features that make the language well suited for use on the World Wide Web.


    for me java is easier to understand than c... :-), although c is the first prog language i learned

    ReplyDelete
  37. Ang ganda ng JAVA kh8 mdyo mahirap..kelangan tlga
    sunog kilay kng gux2 mo matuto..hehe

    ReplyDelete
  38. JAVA IS SIMPLE
    Java was developed by taking the best points from other programming languages, primarily C and C++. Java therefore utilises algorithms and methodologies that are already proven. Error prone tasks such as pointers and memory management have either been eliminated or are handled by the Java environment automatically rather than by the programmer. Since Java is primarily a derivative of C++ which most programmers are conversant with, it implies that Java has a familiar feel rendering it easy to use.

    READ MORE IN THIS SITE:
    http://spraba-activist.blogspot.com/2009/12/features-of-java-language.html

    ReplyDelete
  39. Here are some of the nice things that people have said about OOPLs:

    “C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg.”

    It was Bjarne Stroustrup who said that, so that’s ok, I guess.

    “Actually I made up the term ‘object-oriented’, and I can tell you I did not have C++ in mind.” — Alan Kay

    “There are only two things wrong with C++: The initial concept and the implementation.” — Bertrand Meyer

    “Within C++, there is a much smaller and cleaner language struggling to get out.” — Bjarne Stroustrup

    “C++ is history repeated as tragedy. Java is history repeated as farce.” — Scott McKay

    “Java, the best argument for Smalltalk since C++.” — Frank Winkler

    “If Java had true garbage collection, most programs would delete themselves upon execution.” — Robert Sewell

    But perhaps the best blanket condemnation is the following:

    “There are only two kinds of languages: the ones people complain about and the ones nobody uses.” — Bjarne Stroustrup

    ReplyDelete
    Replies
    1. oh can you memorize those lines roxanne?" =)

      Delete