
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
Smita Kapse has Published 542 Articles

Smita Kapse
3K+ Views
The java.time package of Java provides a class named LocalDateTime is used to get the current value of local date and time. Using this in addition to date and time values, you can also get other date and time fields, such as day-of-year, day-of-week, and week-of-year. Setting the Local time ... Read More

Smita Kapse
1K+ Views
In this article, we will learn different ways to register a driver in Java. JDBC (Java Database Connectivity) is a standard API used to connect Java applications with databases. Before interacting with a database, you must register the JDBC driver so that the DriverManager can recognize and load it.To connect with ... Read More

Smita Kapse
100 Views
In this article, we will learn about the getMaxBinaryLiteralLength() method of the DatabaseMetaData interface in JDBC. getMaxBinaryLiteralLength() method The getMaxBinaryLiteralLength() method of the DatabaseMetaData interface is used to find out the maximum number of characters (hex) that the underlying database allows for a binary literal. ... Read More

Smita Kapse
673 Views
In this article we will learn to insert styled text into a JTextPane component in Java. The JTextPane component is a versatile text editor that supports rich text features, including the ability to style text with different fonts, colors, and sizes. By leveraging the StyledDocument and Style classes, you can ... Read More

Smita Kapse
12K+ Views
In C or C++, we face different kinds of errors. These errors can be categorized into five different types. These are like below − Syntax Error Run-Time Error Linker Error Logical Error ... Read More

Smita Kapse
1K+ Views
In this article, we will learn to set a JTextArea in Java to wrap text by word, ensuring that the words in the text fit neatly within the display area rather than breaking in the middle. We will create a simple GUI application using JTextArea and configure it to wrap ... Read More

Smita Kapse
102 Views
In this article, we will learn how to use the getMaxTableNameLength() method of the DatabaseMetaData interface in Java. The getMaxTableNameLength() method is used to find the maximum number of characters allowed for a table name in the underlying database. It returns an integer value. If the result is 0, it ... Read More

Smita Kapse
120 Views
In this article, we will learn how to retrieve the maximum number of open statements allowed by a database using the DatabaseMetaData interface in Java. The getMaxStatements() method of the DatabaseMetaData interface is used to find out the maximum number of open statements (objects) that the underlying database allows at ... Read More

Smita Kapse
67 Views
In this article, we will learn how to retrieve the maximum number of characters allowed in a catalog name using the getMaxCatalogNameLength() method in Java. This method belongs to the DatabaseMetaData interface, which provides comprehensive information about the database, including its structure and capabilities. The method is useful for understanding ... Read More

Smita Kapse
785 Views
In this article, we create a JTable in Java Swing to display information about different programming technologies and their tutorial availability. The table is set up with specific columns and rows, each containing data on a particular technology. We also demonstrate how to set a custom height for a single row ... Read More