
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 7442 Articles for Java

249 Views
What is Java? Java is a programming language which is used for developing web-based applications. The language is being used by the developers for the past two decades. Currently, millions of Java applications can be found that are being used by many users for different purposes. Java is an object-oriented language which is fast secure, and reliable. You can develop mobile as well as enterprise applications using the language. Why Java Alternatives? There are many disadvantages with Java language and some of them have been listed here − The performance of Java language is slow GUI developed is ... Read More

8K+ Views
Obtaining the build version number of an Android application is simple. To do so, the user should first launch the app on their Android device or emulator and then navigate to its settings or options menu. Next, they should look for either an "About" or an "Info" section since this is where the build version number usually exists. Once located, tapping on it will reveal the necessary details including a combination of numbers and/or letters such as "1.2.3" or "v1.0.0". As both developers and users require this information to identify different releases and updates, obtaining the build version ... Read More

2K+ Views
AOP is a powerful technique utilized in software development for modularizing and handling cross-cutting concerns. In a Spring Boot application, AOP allows for the separation of application logic from tasks such as security, caching, transaction management, and logging. Applying AOP to your project involves configuration of dependencies initially followed by the definition of aspects through annotations or XML configuration. These aspects encompass various functionalities that apply under specific conditions. Additionally, pointcuts can be configured to determine where the aspects should be applied within the codebase of a Spring Boot application using AOP. This approach promotes code modularity, reusability, ... Read More

2K+ Views
The Strategy pattern is a design pattern that belongs to the Behavioral group. It enables developers to define a set of algorithms by creating separate classes for each one, and at runtime, change them as needed. Java provides several approaches to implement the Strategy pattern; Enumerations are a popular method used in our case. An Enumeration is useful when you need to create a fixed list of constants that represent different strategies in your program's logic. To easily switch between different strategies in Java using the Strategy pattern, defining an Enum that represents these strategies is a clean and ... Read More

4K+ Views
When working with JSON data in Java, developers may encounter unknown properties or fields that are not defined in the corresponding Java class. These unidentified elements can create problems during the parsing process, resulting in exceptions or lost data. To tackle this issue, programmers can incorporate a mechanism to ignore such unknown properties while parsing JSON. Configuring the JSON parser appropriately can prevent unexpected properties from disrupting an application's functionality. By skipping unrecognized properties and only parsing the ones that match the defined structure, JSON data can be parsed in a more robust and flexible manner. This ensures that ... Read More

424 Views
In Android applications, SSL (HTTPs) certification path exceptions can occur when the server's certificate is not recognized or trusted by the device. These exceptions may lead to potential security vulnerabilities and disrupt the communication between the app and the server. To handle such exceptions, it is essential to address the certification path issue and ensure secure communication. By implementing proper error handling and certificate verification mechanisms, developers can mitigate the SSL certification path exceptions. This involves identifying the root cause of the exception, evaluating the certificate's validity and authenticity, and establishing a trusted connection between the app and the server. ... Read More

4K+ Views
To handle static web tables with Selenium WebDriver in Java, a series of procedures must be followed to extract relevant data and operate on the table components. The initial step involves locating the table present on the webpage using suitable identifiers. Once located, individual rows and columns are accessed via HTML tags such as and . The data from web tables can be extracted and stored for further processing by iteratively scanning each row and column. Additionally, actions such as clicking on specific cells or verifying the presence of certain data in the table can also be ... Read More

4K+ Views
When working with Selenium and Java, it is crucial to know how to handle multiple windows effectively. Managing multiple windows in Selenium involves navigating between different browser windows or pop-ups during test automation. It allows for interaction with various elements and validating functionality across different windows. Proper handling of multiple windows ensures comprehensive testing coverage and accurate results. By leveraging Selenium's WebDriver interface and Java, you can retrieve window handles, switch between windows, perform operations on specific windows, and automate complex scenarios that involve multiple browser windows. Mastering this skill enhances the efficiency and reliability of your Selenium ... Read More

2K+ Views
The Java.lang.UnsatisfiedLinkError exception occurs when an attempt to access or load a native method or library fails at runtime due to mismatch between its architecture, operating system or library path configuration and that referenced. It typically indicates there has been an incompatibility with either architecture, OS configuration or path configuration that prevents success - typically the native library being referenced is mismatched from what's installed on a system and its referenced library being unavailable during runtime. To overcome this error, it's crucial that the native library be compatible with both your system and accessible through its library path settings. ... Read More

1K+ Views
Handling dynamic web tables is often one of the biggest obstacles when it comes to web automation testing, making use of Selenium WebDriver an efficient means for automating browsers. Although its powerful feature set enables interaction with website elements, dealing with dynamic tables requires additional techniques aimed at effectively extracting and locating data efficiently; in such instances Java provides various approaches that help handle dynamic tables seamlessly. With Selenium WebDriver in Java's adaptability and capabilities, testers are able to utilize dynamic web tables effectively and accurately by automating interactions between cells or rows efficiently and precisely. In this tutorial ... Read More