what is the differences between functional,imperative,logic and object-oriented programming?
96810
Functional languages emphasize the evaluation of expressions, rather than the execution of commands.  So in an imperative language like C, you might write\n\ntotal = 0;\nfor (i = 0; i<10; ++i) total += i;\n\nBut in a functional language like Scheme, you would write it as a function instead:\n\n(define sum\n   (lambda (from total)\n       (if (= 0 from)\n           total\n           (sum (- from 1) (+ total from)))))\n(sum 10 0)\n\nBy logic programming, you probably mean Prolog.  Logic programming languages, in general, are programming languages which incorporate some of the language of mathematical logic; unification and backtracking search are common operational features.\n\nBut most modern, popular languages are object-oriented, which means that objects can be defined and instantiated, and send messages to other objects.  C++, C#, and Java are all object-oriented languages.
1113194
try this\n\nhttp://en.wikipedia.org/wiki/Java_programming_language
567138
So some searches on Yahoo for java, VB and oracle.\nThis should give you some information, and ideas on what they are, and how to use them.
764174
1. C/C++\n2. C#\n3. VB.NET\n4. Java\n5. PHP
595133
A class is a data type that encapsulates data and operations on data in a single unit. Before object-oriented programming, data and operations (functions) were treated as separate elements. An object is an instance of a class. That is, it is a value whose type is a class. The term object is often used more loosely in this documentation and where the distinction between a class and an instance of the class is not important, the term "object" may also refer to a class.\n\nYou can begin to understand objects if you understand Pascal records or structures in C. Records are made of up fields that contain data, where each field has its own type. Records make it easy to refer to a collection of varied data elements.\n\nObjects are also collections of data elements. But objects--unlike records--contain procedures and functions that operate on their data. These procedures and functions are called methods.\n\nAn object's data elements are accessed through properties. The properties of many Delphi objects have values that you can change at design time without writing code. If you want a property value to change at runtime, you need to write only a small amount of code. \n\nThe combination of data and functionality in a single unit is called encapsulation. In addition to encapsulation, object-oriented programming is characterized by inheritance and polymorphism. Inheritance means that objects derive functionality from other objects (called ancestors); objects can modify their inherited behavior. Polymorphism means that different objects derived from the same ancestor support the same method and property interfaces, which often can be called interchangeably.
145863
The premise of Object Oriented Design is that data(properties) are combined with methods to create the objects.  The methods are actually functions that the object uses.  As such, algorithms are still used to design the methods(functions) that are implemented in each object's template(class).
957717
A list of instructions telling a computer, step-by-step, what to do, usually having a linear order of execution from the first statement to the second and so forth with occasional loops and branches. Procedural programming languages include C, C++, Fortran, Pascal, and Basic. \n\nfor more info visit\n\nhttp://en.wikipedia.org/wiki/Procedural_programming
338198
If u r from Computer background, it will be very easy to learn programming languages to u. u will have to firstly build up programming logic which can be done some preliminary languages like BASIC. The main thing is about any programming language is logic or we can say concept. once u will expert in developing logic it will be very easy to u to inplement ur logic in any computer language. Now a days OOP(Object oriented programming) concept is becoming more popular than other procedural concept. So try to thinks some real world problems. u can begin with C++ to build up ur logic. try to solve any problem with more then one way. GOOD LUCK
464809
It depends on what exactly you want to do. If you want to learn more on OS programming, it's mostly C, you can also learn GNU assembler, which is somewhat different from DOS one. Otherwise learn Java or Python.
23160
I assume that you're talking about object-oriented languages here.\n\nYou want to define a base class when there is specific functionality that can be implemented, and should be generally available to all subclasses.\n\nAn interface is simply a specification of available functions and data fields, with no actual code attached. You would define one where you need to specify a black box to fit in a system, but aren't implementing any of the actual working pieces for the black box.
656218
Object Oriented Databases\nObject oriented databases are also called Object Database Management Systems (ODBMS). Object databases store objects rather than data such as integers, strings or real numbers. Objects are used in object oriented languages such as Smalltalk, C++, Java, and others. Objects basically consist of the following: \n\nAttributes - Attributes are data which defines the characteristics of an object. This data may be simple such as integers, strings, and real numbers or it may be a reference to a complex object. \nMethods - Methods define the behavior of an object and are what was formally called procedures or functions. \nTherefore objects contain both executable code and data. There are other characteristics of objects such as whether methods or data can be accessed from outside the object. We don't consider this here, to keep the definition simple and to apply it to what an object database is. One other term worth mentioning is classes. Classes are used in object oriented programming to define the data and methods the object will contain. The class is like a template to the object. The class does not itself contain data or methods but defines the data and methods contained in the object. The class is used to create (instantiate) the object. Classes may be used in object databases to recreate parts of the object that may not actually be stored in the database. Methods may not be stored in the database and may be recreated by using a class. \n\nComparison to Relational Databases\nRelational databases store data in tables that are two dimensional. The tables have rows and columns. Relational database tables are "normalized" so data is not repeated more often than necessary. All table columns depend on a primary key (a unique value in the column) to identify the column. Once the specific column is identified, data from one or more rows associated with that column may be obtained or changed. \n\nTo put objects into relational databases, they must be described in terms of simple string, integer, or real number data. For instance in the case of an airplane. The wing may be placed in one table with rows and columns describing its dimensions and characteristics. The fusalage may be in another table, the propeller in another table, tires, and so on. \n\nBreaking complex information out into simple data takes time and is labor intensive. Code must be written to accomplish this task. \n\nObject Persistence\nWith traditional databases, data manipulated by the application is transient and data in the database is persisted (Stored on a permanent storage device). In object databases, the application can manipulate both transient and persisted data. \n\nWhen to Use Object Databases\nObject databases should be used when there is complex data and/or complex data relationships. This includes a many to many object relationship. Object databases should not be used when there would be few join tables and there are large volumes of simple transactional data. \n\nObject databases work well with: \n  \n\nCAS Applications (CASE-computer aided software engineering, CAD-computer aided design, CAM-computer aided manufacture) \nMultimedia Applications \nObject projects that change over time. \nCommerce \nObject Database Advantages over RDBMS\nObjects don't require assembly and disassembly saving coding time and execution time to assemble or disassemble objects. \nReduced paging \nEasier navigation \nBetter concurrency control - A hierarchy of objects may be locked. \nData model is based on the real world. \nWorks well for distributed architectures. \nLess code required when applications are object oriented. \nObject Database Disadvantages compared to RDBMS\nLower efficiency when data is simple and relationships are simple. \nRelational tables are simpler. \nLate binding may slow access speed. \nMore user tools exist for RDBMS. \nStandards for RDBMS are more stable. \nSupport for RDBMS is more certain and change is less
1052536
Ruby is interesting. I've been learning it for only a week. Its big thing is that it's completely object oriented. Just about everything is an object in some way. The language is "fun" in a weird way. It's not a structured as Java. It allows for many cool and powerful algorithms, but takes a bit to get used to. If you want to try it out, use http://tryruby.hobix.com/ That is the coolest thing I've ever seen to learn any programming language.
1140564
I am not sure i got ur question but i presume you are asking about C++ in general. It object oriented programming different form the structured programming style of C.Object oriented binds data to methods and provides a better level of abstraction...if this sounds geek...learn about Classes and objects...else send me a mail...aint bragging but i am pretty good in C++
992635
yes its a purely object oriented. Its because pretty much every variable youuse is and object. Even types like String and Integer. There are also many objects already written in java, that java provides, that you can use to create something or inheret it into your own classes and objects. \n\nThere are however some basic types like int (not Integer like above) and double, and boolean.  But majerity of the language is object oriented and almost every object is a subclass of another class. Thats why you end up having to do things like System.out.println. Meaning println is dependent on out, which intern dependent on System. So when writting something you end up having many dependecies and some lines can edn up being quite long.\n\nAnyways, yes, for majority - java is object oriented. Not completely since it still has basic types like int and double.
653156
Java is a strongly-typed, object-oriented, compiled programming language.  It does as much checking as possible at compile time, before the program ever leaves the programmer's hands.\n\nJavascript, originally called Livescript, is a loosely-typed language, which as of version 1.6 does not yet have traditional object-oriented classes. It offers a sort of class-like approach to OOP that is based on the Prototype design pattern, relying on dynamic programming tricks in lieu of programming-language features.\n\nBoth applications are well-known for being able to run in a web browser. Java applications that do this are generally called Applets, and today they are executed in the browser environment called the Java Plugin.  The Java Plugin provides a homogenous, cross-platform environment for Applets, reguardless of the OS and browser maker.  Java applications are distributed in binary files.  The object file for each class is called a .class file - and they are frequently bundled into .jar files.  A .jar file is a .zip file enhanced with a couple simiple metadata files telling what lies within.\n\nJavascript code, by contrast can go directly in web pages - either in a script element of a .html file, in attributes of CSS rules in the .css or .html file, or in the HREF element of an A ("anchor") tag.  Javscript code is not distributed in a binary file format, the code is all there for you to read.\n\nA lot of Firefox's "flair" or "bling" in the form of extensions is implemented using Javascript.  Javscript is the dominant runtime language used by the Firefox/Mozilla team for runtime customizations.\n\nJava code can also run on a web server.  Or an application server.  Or on the desktop.\n\nNetscape's web server product, which became iPlanet, uses Javascript as an application development programming language.  The Mozilla project also distributes a Javascript interpreter written in pure Java called Rhino.  It implements the Javascript 1.6 standard, just like its big brother in the Firefox 1.5 web browser.\n\nJavascript 1.6 sports a neat feature that Java does not have.  Javascript 1.6 added XML as a first-class data type.  What this means is that you can write a fragment of XML without quoting it, and Javascript will know it is XML and treat it as a real, live data structure.\n\nSo, you can write:\n\n  line = <para language="english" accent="british">My, this <italic>is</italic> <bold>interesting</bold>, <person profession="detective" org="private" iq="genius">Holmes<person>!</para>\n\nYou could then pull pieces of it out.  Like, for instance:\n\nvar hisProfession = line.para.person.@profession;\n\nThen, hisProfession => detective\n\nThis is more efficient for programmers working with XML than writing code with SAX or DOM APIs. Given the recent rise of AJAX as a prefered UI in web pages, that can be a key advantage.\n\nJava programs, which are compiled and have an extremely clever runtime engine will run much faster than Javascript programs. Generally, that is.\n\nOn the other hand, starting up a JVM and loading classes takes time.  So for short little bits of code, Javsacript does have a speed advantage.  In practice, either one could be faster - depends on the overall situation and other factors.\n\nThe best way to learn the differenes between the two languages is to first get them and their documentation.  Then, read the reference material and tutorials, do some exercises.  Finally, come up with your own ideas for programs and write them too.\n\nIf all else fails, consult the Wikipedia.
627818
Loosly coupled programming languages are nothing but Object oriented languages like C++,Java...etc.In these languages there is no need to recompile the entire code if any changes are made,Only the piece of code for which the changes have been made needs to be compiled.More over as these are based on the component model they have the advantage of the re usability.\n\n                        But where as the tightly coupled languages like C..if any changes are made the entire code has to be recompiled more over the maintains of the code will also be a challenge.
645329
If you want the differences in detail go to http://java.sun.com Its the JAVA information superhighway.