
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

Converting Code to Clarity
About
A professional technical content writer with Java programming skills. I have a desire to write informative and detailed Java articles for both beginner and professional developers. Having a strong background in HTML, CSS, JavaScript, Java, JDBC, JSP, Spring, and Hibernate.
Alshifa Hasnain has Published 283 Articles

Alshifa Hasnain
7K+ Views
In this article, we will learn about the differences between the paint() method and the repaint() method in Java. In the AWT and Swing frameworks, rendering graphical components is done in two different roles by the two methods paint() and repaint(). The paint() Method This method holds instructions to paint ... Read More

Alshifa Hasnain
5K+ Views
In this article, we will learn to minimize/maximize a JFrame programmatically in Java. In Swing, programmers often need to resize the window as needed. For example, they can shrink the window when carrying out background tasks or expand the window size for a better full-screen experience. What is a JFrame? ... Read More

Alshifa Hasnain
2K+ Views
In this article, we will learn about the importance of the Cursor class in Java. Under the Swing toolkit, the Cursor class provides an improved user experience by providing graphical(visual) feedback. What is a Cursor class? A Cursor is a subclass of the Object class, and it can be defined ... Read More

Alshifa Hasnain
18K+ Views
In Java, HashSet and TreeSet both belong to the collection framework. HashSet is the implementation of the Set interface, whereas TreeSet implements a sorted set. TreeSet is backed by TreeMap while HashSet is backed by a HashMap. Difference Table The following are the key differences between HashSet and TreeSet : ... Read More

Alshifa Hasnain
5K+ Views
The main difference between JTextField and JTextArea in Java is that a JTextField allows entering a single line of text in a GUI application while the JTextArea allows entering multiple lines of text in a GUI application. JTextField The following are the key characteristics of JTextField in Java: A JTextFeld is one ... Read More

Alshifa Hasnain
6K+ Views
In this article, we will learn about the basic structure of a program in Java. Java is widely used for developing large-scale applications, including Android apps, web applications, and enterprise software. To write a Java program, it's essential to understand its basic structure, which consists of several key components. Components ... Read More

Alshifa Hasnain
10K+ Views
The JOptionPane is a subclass of the JComponent class, which includes static methods for creating and customizing modal dialog boxes using a simple code. The JOptionPane is used instead of JDialog to minimize the complexity of the code. The JOptionPane displays the dialog boxes with one of the four standard icons ... Read More

Alshifa Hasnain
10K+ Views
In this article, we will learn about the importance of the Container class in Java. The Container class plays a vital role in creating graphical user interfaces (GUIs) and managing the layout of components. What is the Container Class? A Container class can be described as a special component that ... Read More

Alshifa Hasnain
4K+ Views
A common question in Java OOPs is whether abstract classes can have parameterized constructors. Yes, we can define a parameterized constructor in an abstract class. What is a Parameterized Constructor in Java A parameterized constructor is a special type of class constructor that accepts parameters/arguments when creating an object. Unlike ... Read More

Alshifa Hasnain
2K+ Views
In this article, we will learn to print Hello World without a semicolon in C++. The semicolon (;) is used to terminate statements. The above can be achieved by using control structures like loops, conditionals, or function calls. Different Approaches There are multiple ways to write a C++ program without ... Read More