
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
Found 9126 Articles for Object Oriented Programming

2K+ Views
CSV files are basically plain text files that stores data in columns separated a comma. OpenCSV is the library that parses these CSV files which are quite difficult to handle otherwise. It is a quite easy to use library that supports several features like reading and writing of CSV files with headers. We will be discussing the mapping of CSV files to JavaBeans via OpenCSV in this article. Additionally. OpenCSV is a tool that aids in this process. Mapping the CSV to JavaBeans The OpenCSV library provides certain classes and mapping strategies to map the CSV files into Java Beans. ... Read More

760 Views
Java developers frequently turn to the Java NetBeans IDE as an integrated development environment to build, manage and test their pieces of code. This open-source software tool comes free-of-charge and enjoys patronage from its supporting organization - Oracle Corporation. Additionally providing users with a plethora of tools complemented by various plugins that add functionality to the software tool whilst boasting an interface that's easy on users' eyes make it exceptionally convenient for adapting newbies' or more experienced programmers in equal measure - not surprising given that Java has taken root among programmers as one of the trending coding languages utilized ... Read More

165 Views
A LongFunction in Java is a functional interface which takes one argument of type long and returns a result of some other type. Functional interface is an interface that have only one abstract method. To use this interface first you have to import java.util.function package. The functional method of this interface is ‘apply()’ which takes long value as an argument and returns function result denoted by R. Syntax R apply(long value); Algorithm In order to effectively implement this functional interface into your work, there are three defining steps one must abide by beforehand. First off, establishing an ... Read More

122 Views
A LongToIntFunction in Java is a functional interface which takes one argument of type long and returns a result of int type. Functional interface is an interface that have only one abstract method. To use this interface first you have to import java.util.function package. The functional method of this interface is ‘applyAsInt()’ which takes long value as an argument and returns int valued result. Syntax int applyAsInt(long value); Algorithm To implement this functional interface, follow these steps − Step 1 − Create an instance of the functional interface by defining a lambda expression that implements the applyAsInt(long value) method. ... Read More

840 Views
Building a web application with encrypted password can be a challenging task in Java. Let’s simplify this process and look into how to create a simple login web application with encrypted password using JSP and Servlets. Powered by advanced technological developments, our state-of-the-art login system grants access privileges exclusively to registered users via unique log-in credentials that are carefully verified before granting restricted entry into secure areas on our website infrastructure. Integrating with JDBC (Java DataBase Connectivity), we're ensuring industry-standard secure storage of sensitive customer details within our project's backend that strictly complies with recognised server security best-practices that stress ... Read More

3K+ Views
Resources play an important role during runtime by providing necessary files that enable smooth software operation. These resources are accessible through a classpath system which allows them to be read from or written into with ease. For managing this process effectively within Java programs, several APIs such as the ClassLoader and Class classes exist - these offer various features for identifying resource locations within the app's environment and retrieving related information while at it. Algorithm Step 1 − Get the class loader for the current class Step 2 − Load a resource as a URL/Inputstream.For those who choose to ... Read More

444 Views
Open-source software called Apache JMeter is generally employed for load, performance, and functional testing. It offers a range of features that enable programmers and testers to model various situations and gauge the effectiveness of their apps. JMeter's support for listeners is one of its important features. We will examine listeners in JMeter, their functionality, and their significance in performance testing in this article. JMeter listeners operate by keeping an eye out for events produced by the test plan. These events may be associated with the beginning and completion of a test, the success or failure of a request, or the ... Read More

464 Views
In the present era of technology libraries have recognized the extensive capabilities of library management systems as a valuable resource for effectively handling their materials. To optimize these systems. It is imperative to utilize a robust programming language such as Java which can assist in creating efficient and user friendly solutions. As an illustration, a switch statement in Java will be utilized to demonstrate the implementation of a library management system in this article. Thereby, enabling libraries to better organize and optimize their resources to fulfill the increasing demands of their users. Menu for Library Management The alternatives that we ... Read More

2K+ Views
The implementation of TextWatcher in Android enables developers to actively monitor and respond to real-time changes made to an EditText widget. The TextWatcher interface presents three essential methods: beforeTextChanged(), onTextChanged(), and afterTextChanged(). These methods are called at different stages during the text editing process, providing valuable opportunities for observation, intervention, and subsequent actions. To implement TextWatcher, there are three approaches available: utilizing an anonymous inner class, applying inline implementation, or implementing the TextWatcher interface within your activity or fragment. In each method, one needs to override the necessary TextWatcher methods. After that, the TextWatcher should be ... Read More

283 Views
Enabling registered users to search for others within a social media Android app involves implementing a search functionality. This allows for effective queries of the user database using an efficient search algorithm. Furthermore, by displaying relevant search results based on user input, the feature facilitates connections and promotes networking within the app's user community. Search in Android The search functionality in Android encompasses a feature that empowers users to effortlessly find specific content within an Android application. This capability allows users to enter their desired search queries through a designated search bar and promptly receive relevant results based ... Read More