Choosing between PHP and Java depends on your goals. If you're interested in web development, especially for server-side scripting, PHP is a great starting point due to its ease of use and widespread application in web projects. On the other hand, if you're looking for a more general-purpose programming language with strong object-oriented principles and a wide range of applications, Java may be the better choice. Ultimately, consider your interests and the types of projects you want to pursue.
It is a good to know item. It is not mandatory or necessary. Basic knowledge of core Java is enough to learn JSP and Servlets.
Java Applet is an application designed to transmit on internet to execute on java compatible browsers. Java Servlet is a server side program used to provide services to clients.
A Java set is a collection of things that do not contain duplicate elements. Duplicates are prohibited from Java sets.
When most computer users think of Java, what they are really thinking of is Java core, which is the standard edition that is used in most basic computer applications. The term Java in and of itself is a more broad term that can cover both the standard edition and more advanced applications.
The main thing you should keep in mind is that the if-else statement should be used for program flow control and the assert keyword should only be used for testing purposes. You should never use asserts to actually perform any operation required for your application to work properly. According to Sun's official Java documentation: "Each assertion contains a boolean expression that you believe will be true when the assertion executes." For example, if you have a method which is supposed to return a double value in the range [-1.0,1.0], you can use the following two statements to test this: assert value = -1.0; If either of these assertions returns false, an error will be thrown to let you know there's a problem.
First you have to learn it, then it should be easy to do that.
java
You should learn HTML, JavaScript and other web programming languages. Leave learning Java until you have a good reason to learn it.
You can use Head First Java or Java Complete Reference to learn Java.
No!!!! You do not need to learn c++ for learning java!
Java
English
The best way to learn Java is to study a book. It doesn’t have to be the “official” Synergisticit, which can be difficult to track down in your local library system. Your local library or bookstore should have a good selection of Java books for sale. The titles you have should cover all the material you need to learn.
Learn C++, Java and other necessary programming first.
first learn how to ask questions
well you should start by specializing in what programming language you want to code in. for example java and look up java tutorials on youtube and look up tutorials elsewhere. then for example java will branch off into somthing like Java Me ( java and java me are two different things) but you need to learn a certain language before learning about specific development. look into Java or C++ or another base language, then work your way into mobile device development. this will take time and patience to learn.
Learn both. Learn the core concepts behind the languages and you can transfer your knowledge between any new language.