Wednesday, October 16, 2019

Technical Paper Essay Example | Topics and Well Written Essays - 750 words

Technical Paper - Essay Example This is especially handy for developing graphical user interfaces. Create one (1) original example of a class with at least one (1) attribute and one (1) method. Class Person { Private String name ; Public Person (String name){ this.name = name; } Public String getName() { return this.name; } } (Hegner, 2000) The class represents a person. The attribute stored is the name of the person. The purpose of the related method is to retrieve the name of the person. The constructor stores the name of the person when you create an instance of the class person. In object oriented programming, the program can be seen as a group of interacting objects, in contrast to the conventional model where a program is essentially a list of tasks. In OOP, every object can receive messages, process data, and send messages to other objects. An object can be viewed as an independent entity with a distinctive role or responsibility (ECOOP 2010 & D'Hondt, 2010). Methods on these objects are directly related to the object. For instance, data structures in OOP tend to bear their own operators or inherit them from a related class or object except in cases where serialization is required. On the other hand, Visual Logic programs can be one extended list of commands, and more complicated programs often assemble smaller parts of these statements into subroutines or functions. Each function can perform a specific task. These kinds of designs commonly make some of the data for the program to be universal, i.e., the data can be accessed from any section of the program (ECOOP 2010 & D'Hondt, 2010). The programs allow any function to change any piece of data as they grow in size, meaning that bugs in the code can have extensive effects. Event driven programming is a technique of programming used to create responsive programs. The software created does not perform any action until the event occurs. One advantage of this method over purely procedural programming is that no concurrent data access by di fferent execution threads is required. This prevents the need for leveraging shared data with the complex procedure required for such, thus preventing a lot of bugs (Samek, 2009). The technique also makes computer applications more user friendly, meaning that they can be operated by most people without the need for expert information on computer programming languages like OOP. References ECOOP 2010, & D'Hondt, T. (2010). ECOOP 2010 -- object-oriented programming: 24th European Conference, Maribor, Slovenia, June 21-25, 2010 : proceedings. Berlin: Springer. Hegner, S. J. (2000). Intelligent help systems for UNIX. Dordrecht [u.a.: Kluwer Acad. Publ. Samek, M. (2009). Practical UML statecharts in C/C++: Event-driven programming for sembedded systems. Amsterdam:

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.