Over at StackOverflow, the question was asked : Where to start with Java when coming from PHP?
PHP5 has the concept of objects, interfaces and exceptions. These are similar enough to Java’s version of objects, interfaces and exceptions for basic learning purposes.
Once you get the PHP5 equivalent understood then crossover to Java.
Since everyone starts with a Hello world program,
- Set up eclipse (J2EE version)
- Use the Java tooling to create a new class that is your Hello world.
- Figure out the basics of debugging with eclipse
- Figure out the basics of objects, interfaces, exceptions and inheritance.
- Understand the basic language differences PHP vs. Java’s
- Understand the differences between a static typed language and the dynamic-typed languages that you are used to.
- Learn the classes in java.lang.* and java.util.* packages.
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.