java: can i get  programming  examples that gives clear idea about OOP?
87629
go to http://www.javaalmanac.com/. You will get some examples in java
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.
955560
Check up the java online tutorial from sun:-\nhttp://java.sun.com/docs/books/tutorial/\n\nYou can also check the following sites for other java related documents / ebooks:-\nhttp://www.freecomputerbooks.com/\nhttp://33367.com/
355787
A lecturer once gave me some advice.  He was on an interview panel and gave some code to a potential candidate.  He asked what was wrong with the code - as it turns out there was nothing wrong with it, but he wanted to see how the candidate deals with logical progession in program flow.  That said, I have added some links to a sites you may find useful as a starting point . . .
4077
There are many more complex answers to this question, and for ones that illustrate the capabilities of Python as an OO language, see the links below. \n\nBut this will work:\n\n#!python\nprint "Hello world."
933539
What do you mean by java class?
940005
Yeah. Java is object oriented language. It is more like C++ which is object based language (not purely object oriented). But fundamentally somewhat same.
256299
Java programming has couple of pluses....\n+ it is Object oriented\n+ it is platform independent \n+ it is part of open source community development\n+ it is write once , run anywhere kind of programming\n\nyou will write a source *.java file compile with the JDK, \nthat will produce a bytecoded classfile\nthese byte coded class file run on different machines JVM without any modifications to suit environment.\n\n\n\njavac *.java  and run using \njava  file(class)\n\n\n\nFor a start you need couple of things..\nGet a Headfirst series Java book \nget the JDK  (java development kit) here\nhttp://java.sun.com/j2se/1.5.0/download-netbeans-50.html
1000515
The sun Java tutorials are what you need - they are in my opinion the bset way to learn the basics all Java topics:\nhttp://java.sun.com/docs/books/tutorial/
408935
Hey,\nthe code in JAVA would look like this ::\n\nclass test {\npublic static void main(String a[]) {\nfor(int i=1;i<100;i++) {\nSystem.out.print("&#92;t"+i+"&#92;n");\n}\n}\n}
350677
Here are some resources I use often:\nhttp://www.freeprogrammingresources.com/freetutr.html\nhttp://www.cprogramming.com/\nhttp://www.cplusplus.com/\nhttp://www.thefreecountry.com/documentation/onlinecpp.shtml
759515
get some good frontpage tutorials and try building page by page\n\nhere are some good tutorials\n\nhttp://www.actden.com/fp2000/java/\nhttp://www.actden.com/fp2000/java/\nhttp://www.frontpage2002.com/frontpage_2003_tutorial_guide.htm\nhttp://www.webworksite.com/fptutorials.shtml\n\nanyway since this is assignment you will need to explain the code a bit so you have to learn a bit of html atleast\n\nhere are a few html tutorial links\n\nhttp://www.davesite.com/webstation/html/\nhttp://www.w3schools.com/\nhttp://www.mcli.dist.maricopa.edu/tut/\n\n\nthis link can help a lot in completing your assignment\n\nhttp://marilee.us/webpages.html
987749
Object-based:\nhttp://en.wikipedia.org/wiki/Object-based_language\n\nObject-oriented:\nhttp://en.wikipedia.org/wiki/Object-oriented_programming_language\n\n\nYou'd be surprised how much you can find by just searching...
82621
I found www.javaranch.com to be easy to read.  (Suns' tutorials made me want to learn .net.)
824959
Direct from the creators of the Java.The Java Programming Language is an indispensible resource for novice and advanced programmers alike. \n\nDevelopers around the world have used previous editions to quickly gain deep understanding of the Java programming language, its design goals, and how to use it most effectively in real-world development. Now, Ken Arnold, James Gosling, and David Holmes have updated this classic to reflect the major enhancements in JavaTM 2 Standard Edition 5.0 (J2SETM 5.0). \n\nThe authors systematically conver most classes in Java's main packages, java.lang.*, java.util, and java.io, presenting in-depth explanations of why these classes work as they do, with informative examples. Several new chapters and major sections have been added, and every chapter has been updated to reflect today's best practices for building robust, efficient, and maintainable Java software. \n______________________________________\n      Key changes in this edition include \n       ----------------------------------------\nNew chapters on generics, enums, and annotations, the most powerful new language features introduced in J2SE 5.0 \nChanges to classes and methods throughout to reflect the addition of generics \nMajor new sections on assertions and regular expressions \nCoverage of all the new language features, from autoboxing and variable argument methods to the enhanced for-loop and covariant return types \nCoverage of key new classes, such as Formatter and Scanner \nThe JavaTM Programming Language, Fourth Edition, is the definitive tutorial introduction to the Java language and essential libraries and an indispensible reference for all programmers, including those with extensive experience. It brings together insights you can only get from the creators of Java: insights that will help you write software of exceptional quality. \n------------------------------------------------------------\nDirect from the creators of the JavaTM programming language, this Third Edition of The JavaTM Programming Language is a valuable resource for both novice and advanced programmers. More than 100,000 developers who programmed with C, C++, Smalltalk, or other high-level languages have used this book to get a concise, intelligent, and deep understanding of the Java programming language. \n\nThis book is what you need to understand the basic design goals of the language and the application of the language in real-world development. It provides unique insights into why and how the language was designed and intended to be used. \n\nThe authors describe the latest version of the language, as defined by The JavaTM Language Specification, Second Edition and implemented in version 1.3 of the Java 2 SDK, Standard Edition. This third edition has been structured to give more in-depth treatment of the newer language features as well as informative examples on using some of the new APIs. \n\n         New and/or revised in this edition: \n         ----------------------------------------\n- more details on language features, including an expanded section on nested classes\n- more comprehensive treatment of garbage collection and related programming issues\n- coverage of new APIs, such as collections and internationalization\n\nThoroughly revised from start to finish, this edition fully covers the features of the current release of the Java programming language and class libraries. The book serves as a tutorial introduction to the language and essential libraries as well as a reference. \n\nExperienced programmers will find this new edition to be a valuable reference and will gain new insights into the subtleties of the language. Novice and intermediate programmers will benefit from the valuable examples and clear explanations of language and library features. Make sure you understand the contents of this book before you begin any serious development for the Java platform. \n\nKen Arnold, a Staff Engineer at Sun Microsystems Laboratories, is a
740133
As a procedural programmer (which I'm only assuming you are; you may already be doing object-oriented programming), you may need to familiarize yourself with the basics of object oriented programming first.   \n\nI would suggest borrowing or buying a book on the object-oriented paradigm (you can find all sorts of OOP books on Amazon)  to familiarize yourself with the concepts.  \n\nThen, go to Sun Microsystems http://www.sun.com and download NetBeans 5.5, which is the Java IDE.  Sun also has plenty of tutorials on its site, and they are hierarchically organized as to skill level so that you can jump in wherever you feel most comfortable. \n\nGood luck!
265933
Object is an instance of a class.\n\nConstructor is a also a method which only gets called when an object is instantiated.  (ex. Myclass a = new Myclass)\n\nMethod is a new term for function.  You may write lines of codes inside of a method, and reuse it everytime(OO design)\n\nclass MyClass\n{\n   MyClass() // constructor\n   int AddNumber(int a, int b);  // method AddNumber returns a+b\n}\n\nmain\n{\n  Myclass myObject = new MyClass();  // myObject is an object\n  int sum = myObject.AddNumber(1,2); // 1 + 2 = 3\n  return 0;\n}\n\n\nHope that helps!!! Go java