Posts by Mayank Garg

Author Biographical Info: I am mayank garg and i am pursuing my B.tech From Manav Rachna University Faridabad.
i am currently studying in 6th sem of CSE branch.

How to find the Smallest element in binary tree in Java

By Mayank Garg

In this program, we will search for the smallest element in the binary tree. Here, we have traversed the tree for searching the number. There are many steps are included to find th.... Read More

How to create a Word Count program with java swing and AWT

By Mayank Garg

In this program, we will create a simple word count app by using swing in java. In this app, we will count the word in the text area & also change the color of the text. Althou.... Read More

How to search a node in binary tree using java

By Mayank Garg

In this program, we will learn how to search a node in a binary tree in Java. First, we will learn what is a binary tree. A binary is a different type of data structure. In the bin.... Read More

How to use AWT JPopupMenu and AWT choice bar in Java

By Mayank Garg

In this program, we will learn about the two important predefined classes. Which provides the many methods for creating an attractive and easy swing program. These classes are-: AW.... Read More

How to create file / folder explorer with java

By Mayank Garg

In this program, we will create a file explorer in java swing. We will use many classes, methods, etc with the use of folder explorer we can manage each file of the system. To crea.... Read More

How to find IP Address of any url using Java

By Mayank Garg

In this program, We will find the IP address of any URL in java. We will use many methods that get the host address of any URL. A few things are a must in this program. getHostAddr.... Read More

How to draw various shapes in Java Swing

By Mayank Garg

In this program, we will learn how to draw various types of shapes in Java swing using AWT. Java AWT package provides many methods of displaying the graphics. They are a few method.... Read More

How to print random Patterns in java

By Mayank Garg

In this post, we will cover an important topic in java which is a pattern problem in Java. Patterns problem are mostly asked in interviews and Technical round. So we will now discu.... Read More