Python Lists, with Examples
Lists in Python are a data structure that stores an ordered collection of items, which don't have to be of the same type. Learn how to use them with examples.
Code
Inside articles there are more settings: width, font size, series position and code.
Saved in this browser.
Lists in Python are a data structure that stores an ordered collection of items, which don't have to be of the same type. Learn how to use them with examples.
Learn how to use the Python driver (pymongo) for MongoDB with a hands-on example: connecting to the server and building a simple CRUD.
In this post we build a simple example of how to use the Java driver to work with MongoDB: connecting to the server and running basic CRUD operations.
Everything about regular expressions (Regexp) and pattern matching, with Java, PHP and JavaScript examples covering every possibility
Learn how to manage a queue of tasks in Java with Runnable, ExecutorService and Executors, using a supermarket checkout example with 8 customers and 2 cashiers.
Learn what exceptions are in Java, how the Throwable hierarchy works, and how to handle errors with try - catch - finally, with simple, practical examples.
Learn how the default method in Java 8 interfaces works, how it lets you add behavior without touching your classes, and how it simulates multiple inheritance.
Learn what enums are in Java, how they work as special classes, and how to add attributes and private constructors, with football examples.
Learn how multitasking works in Java with threads. Step-by-step examples using the Thread class and the Runnable interface, with a supermarket checkout demo.
Learn how to customize, export and share a code formatting style in Eclipse for Java and PHP so your whole team writes clean, consistent code.
Learn how interfaces work in Java and how they take polymorphism a step further than abstract classes, with a practical example of a football team.
Learn what polymorphism is in Java and how it works in object-oriented programming, with abstract classes, method overriding and a football team example.