why java is not a pure object oriented language?
486890
The language of Java, is something Jaba not know.
186005
It is a high level language, pretty much like the others.  The significant thing about Java is that the same source code can run under many different operating systems, thanks to the Java Virtual Machine.\n\nJava is an object-oriented programming language developed by James Gosling and colleagues at Sun Microsystems in the early 1990s. The language, which was designed to be platform independent, is a derivative of C++ with a simpler syntax, a more robust runtime environment and simplified memory management.
458967
Java and javascript both based on objects and their is a tight relation ship between these two.\n\nThe major difference between these two are:\n\n1.Java is compiled language but javascript is an interpreted language.\n\n2.Java is strongly typed language i.e,it is necessary to declare variables before use but it is not the case with javascript.\n\n3.Java is used independently while javascript is used with in html tags and require web browser to run.\n\n4.java files have the file extension of '.java' while javascript files have extension of '.js'\n\n5.Java can be used for designing standalone applications as well as web pages also while javascript can only be used for designing wed pages
398955
Java and C++ are remarkably similar in terms of syntax.  Java has all of the same constructs that you are familiar with: for loops, while loops, pre- and post-increment, if-then-else, etc.  So you should be able to pick up the syntax pretty quickly.\n\nThe differences between Java and C++ have more to do with structure than syntax: the way that files are arranged, the way that code is compiled and run, the way that rules are enforced, and the things that come with the package.\n\nWith Java, there is just one file to describe a class, with the interface and the implementation together in the same file.  In C++ these parts are split into a header (.h) file and an implementation (.cpp) file.  This makes things simpler, in that with Java there are half as many files to manage.  It also makes it impossible to lose half of your class, as you can in C++ by losing either the .h or the .cpp file.  It also makes your code more open: if you want to show someone your interface (API) code, then they can also see your implementation.  There is a workaround for this, however, in that you can use the Java-Doc comments to automatically generate HTML-based documentation for your code that only describes your public API.  (Another nice difference –- automatic documentation!)\n\nJava source code is compiled to .class bytecode files.  These files are then run by the Java interpreter/JVM.  This adds an extra layer between your code and the OS, but surprisingly causes very little deterioration in performance, mostly due to really smart JVMs.  This buys you two things: portability and safety.  The portability comes from the fact that code is written to the JVM, which is an idealized stack-based virtual machine, and not to the quirks of the underlying OS.  This is what leads to the infamous “write once, run anywhere” claim.  The safety comes from the fact that all bytecode is checked at run time for any malicious or mal-formed code, and the JVM can restrict the access of any piece of code so that it can't get to sensitive stuff (like your personal files, or the microphone, for instance).\n\nSafety is the common heading for several other differences between Java and C++: there are no pointers in Java (at least not directly), so there are no dangling pointers, uninitialized pointers, or bizarre pointer math errors; arrays are dynamically checked for staying within the boundaries, so there are no out-of-bounds errors; you can't cast an variable to an incompatible type in Java, so data structures can't get corrupted in that way; exceptions must be caught (this check is done at compile time), so there are no uncaught exceptions to bring down your application; and the list goes on!\n\nThus far it might seem like Java is missing a lot of things that are found in C++.  So what would you probably miss if you made the move to Java?  Pointers, templates, operator overloading, multiple inheritance, and a preprocessor.  What wouldn't you miss?  Pointers, templates, operator overloading, multiple inheritance, and a preprocessor.  You might have noticed that these two lists are remarkably similar.  How can this be?  It is one of those things where you might miss some particular feature at first, and even wonder how in the world you will do without it, but once you are familiar with Java and the way that it works, you wonder why you ever bothered with that complicated stuff in the first place.  Java has elegant replacements for many of these missing items, or better yet, makes them completely unnecessary by design.  A good example is multiple inheritance – in Java there is only a single parent class for a given user-defined class, but a class can implement any number of interfaces, which are special classes that only specify methods and operations but have no implementation whatsoever.  A class that implements a given interface can be passed anywhere that the interface is expected, regardless of its size or the way that it is implemented.  It
712721
Java is a scripting language used to create a wide variety of applets (small applications). Basically, Java is not harmful. As a matter of fact, java programs are simply small programs which you can work with. It is just so happen that some people uses java to run harmful scripts in your computer. If you know where your java program comes form and you think the source can be trusted, go on and work with it.
566467
java is a programming language...\nRather than declaring as a language for programming, a number of applications have been developed which enables it's cool use on websites..through JVM, which makes them platform independent.Java provides a great User Interface...\nYou can download whatever is required from:-\nhttp://www.java.com/en/download/index.jsp \nhttp://java.sun.com/j2se/1.4.2/download.html
587233
More details pls.\nGo to the source:\nhttp://www.java.com/en
7389
There are many, but if I had to pick one, it's the support for generics. That's much like C++ templates (classes or methods that you can customize what types they work with -and other parameters- the moment you need to use them), only they get compiled into intermediate language only once.
150471
*  Objects...\n          o Autonomous entities\n          o No direct access to their components, or run time type2\n          o Interact purely by messages, with no assumption of implementation \n\n    * Object Organization...\n          o Inheritance mechanism to construct an object classification hierarchy\n          o Not just for code sharing\n          o Must have abstract nodes in hierarchy for more realistic modeling\n          o Provide potential for individuality in objects\n          o Dynamicly determine (via run time type) correct response to messages \n\n    * Programs as Models...\n          o Programs model the development of some planned system\n          o Changing state of system reflected by the changing state of the objects\n          o Objects can be thought of as acting concurrently\n          o Support for ``non OO'' programming techniques in situations where they make sense
1183373
Hi,\nwell that is an interesting question. You mentioned Ruby, that's one I've just within the last, oh, 6 months heard about. \n\nReading about it just now at \n\nhttp://www.ruby-lang.org/en/20020101.html\n\na piece of info caught my eye. "Ruby is a complete, full, pure object oriented language: OOL. This means all data in Ruby is an object, in the sense of Smalltalk: no exceptions. Example: In Ruby, the number 1 is an instance of class Fixnum."\n\nI LOVED smalltalk and used it a lot in the early 90's just on that principle alone makes it something that I am going to investigate further.\n\nHowever, ... if you do find a better mousetrap then keep us informed.\n\nwizzie
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).
221466
Differences b/w Java and C++?  Some of the shortcomings of C++ were solved in Java- Some differences that quickly come to my mind:\n\n1. Java is machine idependent, (ie, The code can run on any hardware platform as long as JVM for that p/f is installed)\n2. Java is a interpreted language, not a compiled language\n3. Java doesnt have pointers- Pointers were a big pain in the a** in C and C++.\n4. Java doesnt support multiple inheritance\n....  See link
1055576
Java is a better defined object-oriented language and has become very fine-tuned, with a great API with objects and methods that do about anything you want. It is also multiple platform, which means you can run programs on Windows, Linux, Mac, etc. \n\nHowever, the documentation on Java can be sketchy, and unless you are a genius, sometimes figuring out the API can be difficult. You have to be willing to spend some time figuring things out on your own. C# was basically created by Microsoft, and to give them credit, they document everything very well. But if you are not a fan of Microsoft, which many people aren't, Java is the better choice.
390812
OOP: OBJECT ORIENTED PROGRAMMING.\n\nThe whole idea of OOP is to be able to encapsulate data and methods (or member functions as they are called) to protect them.\n\nThis is done by creating a class and letting your class hold information. Then you can just reference the class in any program and use its functionality. This makes for a powerful programming capability and also promotes code reuse. often times you can just reuse an entire class or even use a class after you have modified it a bit. The .NET framework is based on this idea of using various classes to build applications rapidly.\n\nI'd suggest you pick a book up on C++ the one i've used for many years is C++ how to program by Deitel and Deitel. They should have an elaborate section on Classes and Inheritance and the whole OOP&D subject in general.
168240
Object Oriented databases may be characterized quite simply; they typically represent database systems that integrate tightly with a language with object-oriented features such as C++, Java, or Smalltalk, that allow programs to link data structures to databases in such a way that the data structures trivially become "persistent."\n\nthus once you tie a data structure to the database, you no longer need to be concerned about whether a piece of data is in memory or not. as soon as your program refers to it, the data will be pulled into memory if it is not already there. As soon as your program updates the data, it will be updated into the database.
631736
Yes.\nThis is one of selling point of java
83208
Java is an object oriented programming language developed in the 1990s that has a similar syntax to the C++ langauge.\nThe Java language was developed to be able to run across multiple platforms using the Java virtual machine.  The Java langauge is free to use and develop with.  It is also "alive" in the respect that 'Sun' (the company the owns it [not quite the right phrasing])  is constantly developing and making improvments, producing new versions of the language, the current version is verion 1.5