โ Java
The language behind many campus placement tests and enterprise systems, from first program to collections.
- 1. Getting started with Java
Install the JDK, write a class and run it. - 2. Variables and data types
Primitive types, String, and casting. - 3. Strings
Useful methods, comparing with equals, and StringBuilder. - 4. Conditions and loops
if, switch, for, while and the enhanced for loop. - 5. Arrays
Fixed-size lists of one type, plus sorting and 2D arrays. - 6. Methods
Parameters, return types, overloading and how arguments are passed. - 7. Classes and objects
Fields, constructors, encapsulation and static members. - 8. Inheritance and interfaces
extends, implements, overriding and polymorphism. - 9. Exceptions
try, catch and finally, and checked versus unchecked exceptions. - 10. Collections
ArrayList, HashMap and HashSet: the classes you will use most. - 11. Java quick reference
Keywords and everyday methods on one page.
Finished? Go deeper in the Java learning path and earn a free certificate.