Pages

JComboBox in Java

JComboBox in Java

JComboBox is a swing component which allows us to display a list of options in a drop-down style. Here is an example of using JComboBox.Thi...

0 Comments

What is the use of public static keyword in main() method in Java?

In Java program we always use public static void  main()  method. To understand the use of this function we have to consider on some topic...

0 Comments

How To Show Feedback Character While Entering the Password in Linux

In Linux environment we can see that there is not any hints while entering the password from the terminal when we want to log in to our a...

0 Comments
Simple program to use JTree in Java

Simple program to use JTree in Java

This program demonstrate how to use JTree in Java. JTree can be used to display in hierarchical pattern. One of the use of JTree can be us...

0 Comments
How to Compile and Execute C program in Linux

How to Compile and Execute C program in Linux

Linux is very popular OS in these days mostly among programmers and other sectors. We discuss how to compile and execute C program in Linu...

0 Comments
Finding LCM and HCM of Two Number in C

Finding LCM and HCM of Two Number in C

In this example, we are going to find LCM and HCM of two integer. Source Code: #include <stdio.h> #include <conio.h> int...

0 Comments
Manipulating Array using Pointer in C

Manipulating Array using Pointer in C

In this example, we get sum and average of an array element using pointer. We use pointer to point to the first element of an array then w...

0 Comments
Generating Multiplication Table from 1-12 in C

Generating Multiplication Table from 1-12 in C

This program gives you some idea of formatting the output in C. Here we have used %4d for printing the number. The number 4 defines the wid...

0 Comments
Program to find Smallest and Biggest Number with it's position in C

Program to find Smallest and Biggest Number with it's position in C

In this example we track the smallest and biggest number in an array with it's position. The main logic behind it is first we consider ...

0 Comments