Experience & exploration about software QA tools & techniques. Maintaining & writing blog posts on qavalidation.com! Publishing video tutorials on youtube.com/qavbox

Java OOPS – Part 2 – types of Inheritance with examples

Inheritance Inheritance is a mechanism wherein a new class (child class) is derived from an existing class (parent class), child classes may inherit or acquire the properties and methods of parent classes. Types of inheritance Single / multi level inheritance Hierarchical inheritance Benefits of inheritance Reusability Extensibility Saves time and effort Provides clear model structure For details, watch…

All about Java operators

With the help of Java operators, we can perform mathematical or logical operations on different data types. Types Explanation – Code sample – Arithmetic operator – public class ArithOp { public static void main(String[] args) { int a = 13; int b = 5; int result; result = a % b; System.out.println(result); } } Output…