Java

Java from Python: syntax, types, classes and OOP explained for FP2 students at ULPGC who already know Python and want to transition without starting from scratch. Every topic with theory, practice and solved exercises with an exam-style quiz.

48 articles

  1. Syntax

    Classes, main, println and the basic syntax

    Exam-style quiz
  2. Variables

    Primitive types, String, final and casting

    Exam-style quiz
  3. Conditionals

    Scanner, if/else, switch and logical operators

    Exam-style quiz
  4. Loops

    for, for-each, while and do-while

    Exam-style quiz
  5. Methods

    static, parameters, return and overloading

    Exam-style quiz
  6. Arrays

    Arrays, matrices, indexes and references

    Exam-style quiz
  7. Strings

    equals, substring, split and the == trap

    Exam-style quiz
  8. Regex

    Pattern, Matcher, groups and data validation

    Exam-style quiz
  9. Classes

    Fields, constructors, getters and this

    Exam-style quiz
  10. Inheritance

    extends, super(), overriding and polymorphism

    Exam-style quiz
  11. Exceptions

    try, catch, finally, throw and your own ones

    Exam-style quiz
  12. Interfaces

    interface, implements and abstract classes

    Exam-style quiz
  13. Comparable and Cloneable

    compareTo, sorting objects and clone()

    Exam-style quiz
  14. Iterators

    Iterator, Iterable, ListIterator and for-each

    Exam-style quiz
  15. Collections

    List, Set, Map and when to use each

    Exam-style quiz
  16. LinkedList

    Node, first, next, inserting, deleting, traversing

    Exam-style quiz