java versus c#?Which one is more powerfull?
358945
I am assuming that since you are asking about Java and C# that you are planning on doing some sore of web programming.  I am also assuming that since you are thinking about C# and web programming, you will be using the Microsoft C# Express Edition or the Visual Studio .NET 2003 or 2005 development environment.\n\nThis is a large, open-ended question and you need to ask yourself many things.  You need to decide who will be using your program.  Are you in a corporate environment that already has policies and frameworks in place for guidance?  If so, your decision ahs been made for you.  Do you need to interact with other applications?  If so, you may want to work in the same language.  Will it be a cross platform group; Sun. Linux, MAC?  Java would probably be a better choice.  Will all of the machines have .NET 1.1 or 2.0 on them?  If so, C# would be a good choice.  What do your peers or friends use?  IF you need help, can you easily get support for one over the other?\n\nOnce you have answered these questions, look at the language itself.  Will the language support what you are trying to do?  Are there things in Java that are not easily implemented in C#?  Are you going to tie this to a Microsoft SQL sever for backend data; go with C#.  Since Java runs in a sandbox, it MAY be more secure than C#.\n\nThis is only a partial list of questions I would ask myself when trying to decide what language to use for a given task.  At the corporate level, I would normally spend a day or two discussing requirement with the business owner and then determine how best to handle an assignment.\n\nGood Luck!
31834
It all depends on what language you want to learn. I'd suggest diving right into it with java, or C#.  They are relatively similar languages, aside from the fact that one is based on Windows technology and the other is multi-platform.
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
69889
Java or C.\nChoose Java, because it's similar to C, and easier to learn, due to Java's consistent handling of storage locations by reference, and automatic handling of memory management.  As a bonus, you can run your program on any system that supports Java, and embed your program as an applet accessible from anywhere with Internet access. Should you require more efficiency, you can relatively easily translate your program in Java, to a program in C, after you learn and know C.\n\nI'm limiting my answer based on the assumption that you personally want to *learn* a programming language.  You would likely expend fewer resources by simply giving your problem data to a programmer for hire.  If your script conversion doesn't require capabilities like grammar recognition, any programmer with a clue can code a basic utility in minutes.\n\nNote to programmers: I base this learning approach on a graduated, learn as you need to know, rationale, that leaves open a transition path to maximum product efficiency (C or C/assembly), or to high efficiency with a graphical interface (C or C++).  I acknowledge that less ubiquitous higher level languages exist that are better suited for specific types of text processing.
717141
Try to download the free Visual C# Express 2005 from Microsoft and also check the online documentation of MSDN. \n\nThese are the excerpt from the documentation:\n\n"C# Language\nC# syntax is highly expressive, yet with less than 90 keywords, it is also simple and easy to learn. The curly-brace syntax of C# will be instantly recognizable to anyone familiar with C, C++ or Java. Developers who know any of these languages are typically able to begin working productively in C# within a very short time. C# syntax simplifies many of the complexities of C++ while providing powerful features such as nullable value types, enumerations, delegates, anonymous methods and direct memory access, which are not found in Java. C# also supports generic methods and types, which provide increased type safety and performance, and iterators, which enable implementers of collection classes to define custom iteration behaviors that are simple to use by client code.\n\nAs an object-oriented language, C# supports the concepts of encapsulation, inheritance and polymorphism. All variables and methods, including the Main method, the application's entry point, are encapsulated within class definitions. A class may inherit directly from one parent class, but it may implement any number of interfaces. Methods that override virtual methods in a parent class require the override keyword as a way to avoid accidental redefinition. In C#, a struct is like a lightweight class; it is a stack-allocated type that can implement interfaces but does not support inheritance.\n\nIn addition to these basic object-oriented principles, C# facilitates the development of software components through several innovative language constructs, including:\n\nEncapsulated method signatures called delegates, which enable type-safe event notifications.\n\nProperties, which serve as accessors for private member variables. \n\nAttributes, which provide declarative metadata about types at run time. \n\nInline XML documentation comments.\n\nIf you need to interact with other Windows software such as COM objects or native Win32 DLLs, you can do this in C# through a process called "Interop." "
42836
Well, Java is the best for large applications, with complex bussiness logic, lots of pages and resource.\n\nPHP is good also, it's a metter of complexity...If you dont know any of the languages you should read this, it might give you an answer:\nhttp://www.sitepoint.com/article/java-6-steps-mvc-web-apps
1137830
presently java is the best. more opportunities. easy to get job. challenging programming.
301617
For the beginning, take either C++ or Java based on your interest. Both languages are object oriented and a great option to shape your programming mind. Later, you could start .Net and take advantage of classy programming with an open mind. In .Net, you may choose C#.Net which has a C++ and Java like syntax.\nThe very important fact in programming is the ability to find proper algorithms. The language is the second fact. So try to improve your algorithmic view first.\n\nHappy Programming.
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.
66662
.NET if you want to code faster and is for windows..and J2EE if you want to make something really platform independent
567969
Yes; java is hot right now and could be a great benefit to you.  It teaches you a lot about low level lanquages and the computer interface to the hardware.  At times though I question the efficency of the language.  It takes a lot of time compared to some tools.
409206
The short answer, C++ is object-oriented C.\nC# is Microsoft's answer to Java.\n\n\nC++ has classes and objects build into the languge.\n\nC# has no pointers, but does have garbage collection.\n\nI would learn C++ first.
179231
Are programming using some computer language(Java, C++, etc.)? How are you trying to do this?
7773
PHP is a scripting language that is typically executed in-process with the Apache httpd server by means of a module.\n\nPHP can also be executed via a standalone interpreter.\n\n.NET is a virtual machine which executes bytecode which may be generated from several programming languages, including C#, Visual Basic, and ASP.NET.\n\nPHP is multiplatform, and can be executed on Linux, Unix, Windows, and MAC.\n\n.NET is available only on Microsoft Windows.\n\nA comparison between PHP and .NET is really apples vs oranges. Java vs .NET is a much more direct comparison.
946422
If you learn C#, you will learn a language used in most object-oriented programming, which is a widely used paradigm today (Java is a prime example of an OO language, and C#, which is used with Visual Basic and Microsoft's .Net development suite, is another.)\n\nJava is widely used in Web development these days and is valuable because entire applications can be transferred via the browser and played on the client computer or with an associated viewer.\n\nIf you master Java and C#, Flash and Gaming programming should come fairly easily to you.  I would recommend first downloading NetBeans 5.5 from Sun Microsystems at http://www.sun.com.  It's the Java development environment.  It's free and there are plenty of tutorials at Sun's site to get you started.\n\nGood luck!
757245
Java is also a programming language like VB, VB.Net, C, C++. So you can make any applications like MS-Word, Excel, Power-Point in Java. The main advantage of java applications is they are platform independant. Means you can run them on any operating systems. MS-Word, Excel etc can run only on Windows OS. But Java Applications are sligtly slower then the application developed on Microsoft Platform like VB.Net, VB etc.\n\nBut to make an operating system you cannot use Java. Because Java is made for application programming not for system programming. For operating Systems you need lot of System Programming. C and C++ are the best language for system programming. So, to develop Operating Systems C, C++ are widely used. But only C and C++ are still not enough to make an OS. You also need Assembly Level programming but Java cannot be used to develop an OS.\n\nAJAX stands for Asynchronous JavaScript And XML. It can be used for online applications. GMail and Google Pages uses AJAX. Now AJAX is also used in Beta version of Yahoo Mail.\n\nTo know about AJAX, you have to understand the general procedure of web pages.\n\nConsider a web page containing a form which accepts the data of user information like first name, last name, address etc. and store it to the database and then after display a message like "Thank you for submitting your information..."\n\nNow you fill up the data and click on the submit button. Now the following procedure occurs\n\n1) Your data is sent to the web server.\n2) Data is stored in the database.\n3) After data is stored, web server gives back a web page containing a message like "Thank you for submitting your information..."\n4) Your web browser accepts the response from web server and display the page.\n\nHere, after clicking on submit button you have to wait until the data is stored and a new page is displayed.\n\nBut consider the example of Google Pages. In google pages during saving your page, the page is not refreshed. You can keep your editing page while your page is being saved. This happens because of AJAX.\n\nWith AJAX you can receive and send data from web server without refreshing the whole page.\n\nTo learn about AJAX, follow the link\nhttp://www.w3schools.com/ajax/default.asp\n\nThis can give you a basic idea of AJAX.
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