What are the features and advantages of object-oriented
programming?
Answers were Sorted based on User's Feedback
Answer / madura
standardization , re-usability , flexibility , less code
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / prashanth
flexibility of code,re-usability of the code and maintainance
cost is very less.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / subhasis mishra
One of the main advantages of OO programming is its ease of
modification; objects can easily be modified and added to a
system there by reducing maintenance costs.OO programming is
also considered to be better at modeling the real world than
is procedural programming. It allows for more complicated
and flexible interactions. OO systems are also easier for
non-technical personnel to understand and easier for them to
participate in the maintenance and enhancement of a system
because it appeals to natural human cognition patterns. For
some systems, an OO approach can speed development time
since many objects are standard across systems and can be
reused. Components that manage dates, shipping, shopping
carts, etc. can be purchased and easily modified for a
specific system.
| Is This Answer Correct ? | 2 Yes | 0 No |
Which function is used in php to count the total number of rows returned by any query?
What is meant by urlencode and urldocode?
Define object-oriented methodology?
<?php /** * @version 1.0 $ * @package HelloWorld * @copyright (C) 2005 Andrew Eddie * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?> <?php $database =& JFactory::getDBO(); //$sql = 'SELECT name, username FROM #__users'; $sql="select a.id, a.title, a.introtext, a.created_by, a.created from jos_content a, jos_content_frontpage b where a.id=b.content_id and b.ordering='2'"; $database->setQuery( $sql ); $user = NULL; $user = $database->loadObject(); //echo 'Name: ' . $user->name . '<br />'; echo '<h1>' . $user->title . '</h1><br />'; //echo 'Username: ' . $user->username; echo ' ' . $user->introtext; i write this and fetch the result from the database the result is The Intranet is up and working ! Our intranet is up and working and should be accessible from both Mumbai and NOIDA. As you will notice, this template, look & feel is not in line with our corporate indentity but we chose the route of "form-follows-funtion" In the first phase, we are rolling out functionality that is critical to all of us - Policies and How-to documents. In subsequent phases, we will be launching other features. Keep watching this space for more details i want to see only 4 line of top then how this may done
What is the difference between nowdoc and heredoc?
Tell me what is the use of explode() function?
Php being an open source is there any support available to it?
What are the types of variables in php?
In How many ways can u represent Not equal?Give Syntax of all ways..
What is the different between cookies and session in php?
How can you count number of parameters given in a URL by POST method?
What does $globals means?