We can overload the main method in Java. We can create another main method with different arguments. Let's see how to do that.
ReadJava program to write a number guessing game. This program will take one number as input from the user for a number of times and try to match with a secret number.
ReadJava program to find the area of of a parallelogram. The program will take base and height as inputs from the user and print the area.
ReadPython tkinter example to create a color choosing dialog. We can use tkinter.colorchooser module to create a color chooser dialog.
ReadPython program to check if two sets are equal or not in 3 different ways. We will learn how to use the equal to operator, not equal to operator, symmetric_difference() method and also the difference() method.
ReadC++ program to return an array from a function using a structure. We can use a pointer or we can define a structure that includes an array.
ReadPython program to write a stopwatch. This stopwatch will record the time and once stopped, it prints the time spent.
ReadC++ program to find the nearest smaller number to the left side in an array. This program will take one array of numbers as the input and find the nearest smaller.
ReadWhat is compilation and how it works in C. This post will show you how compilation works with each step examples.
ReadPython program to insert items to the start of an ordered dictionary. Ordered dictionary remembers the key-value pairs inserted.
Read