Java Exception framework A mechanism provided by the Java programming language to handle unexpected or exceptional situations that may occur during the execution of a program.Exceptions represent situ...Read More
We learn about the importance of “Generics” and “Collections”: Generics in Java allow you to create classes, interfaces, and methods that operate on any type (or types) specifi...Read More
We learn about the importance of “Interface” feature of OOP: In Java, an interface is a way to achieve abstraction. It’s like a blueprint of a class, defining a set of methods that a...Read More
We learn about Object Oriented Programming principles: Classes vs Objects Abstraction Instantiation Encapsualtion with Setters and Getters Inheritance via Parent and Child classes Polymorphism Object-...Read More
What is a Recommendation System? Recommendation engines are a class of algorithms and models created to suggest items or content to users based on their preferences. These algorithms utilize user beha...Read More
We learn about Java variable scope, boxing/unboxing (wrapping) and Arrays Scope of variables You may notice that some lines are commented, because they cant be executed. Please un-comment them ...Read More
We learn about JAVA user input with Scanner class, decision making with if-then-else and switch-case, then for, while, do-while loops along with advance for loop. Marks and grades Switch-Case e...Read More
Simple Java code snippets Calculating circumference of a circle Odd/Even detector with modulo operator Age calculator If the age is less than 18, then the person is a child All lessons >...Read More
Java data types Operators Variables Generating JavaDoc with NetBeans. Using TODO to track action items Java data types The following code tests various data types including sinhala unicode. Java arith...Read More
Symbolic design. History of Computer Programming Languages. The Java architecture. Java learning path. Generating JavaDoc with NetBeans. All lessons > ...Read More