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

512 Views
Recursion, a potent programming technique, entails the resolution of a problem by decomposing it into smaller, more manageable sub problems and applying the same algorithm to solve them. In the realm of Java programming, recursion proves to be an invaluable tool when it comes to printing the binary representation of an integer. The binary equivalent, expressed in a base-2 numeral system that employs only two digits, 0 and 1, poses a common challenge in the field. In this article, we shall embark to unravel the intricacies of printing the binary equivalent of an integer using recursion in Java. Our ... Read More

700 Views
The XSLT (eXtensible Stylesheet Language Transformations) Processor is a piece of software that processes XML documents and applies transformation rules to create new XML documents or other output formats like HTML, plain text, or PDF. With the use of templates, element selection and manipulation, and operations like sorting and filtering, developers can build rules for converting XML documents into various formats using the powerful language known as XSLT. An XSL processor that can be used to implement XSLT transformations is built into the popular programming language Java for processing XML documents. Developers can read, parse, and process XML documents, apply ... Read More

3K+ Views
PDFMergerUtility class is used for merging multiple PDF documents into a single PDF document. PDFMergerUtility class will take a number of PDF files and merge them, and save the result as a new document. To merge PDFs using java will require the installation of apache library. There may be different approches to merge PDF files using java. Definition: Merging PDFs using java Example Input − PDF1 = Alice.pdf, PDF2 = Bob.pdf Output − newMerged.pdf // merged pdf of pdf1 and pdf2 Program code// Merging two pdf documents here import org.apache.pdfbox.multipdf.PDFMergerUtility; import org.apache.pdfbox.pdmodel.PDDocument; import java.io.File; ... Read More

1K+ Views
Cryptography is the study and practice of different techniques to secure communication from third party. It is used for cyber security. We try to develop approaches and practices for protecting sensitive data. The sole objective of cryptography is to secure data from the attacker. Asymmetric Encryption is also referred as public/private key. Private key as goes as its name, it will be private while the public key can be distributed. Encryption is a mathematical correlation between two keys, one for encryption and the other for decryption. For example, if there are two keys “A1” and “A2”, then if key “A1” ... Read More

2K+ Views
Anagram Strings are those strings that have the same characters in each of the strings only the order in which they are arranged changes. In other words, a string is an anagram string if it forms a meaningful word after rearranging the characters of the other string. Some examples of anagram strings are “cat and act”, “care and race”. Both of them have the same characters and their frequencies. In this article, we will be discussing the approach to check whether the two strings are anagrams of each other or not using the HashMaps in Java. Problem Statement ... Read More

592 Views
Julia and Java Julia is a dynamic programming language whereas Java is an object-oriented programming language. Julia contains user-friendly syntax and Java is a purpose programming language. Both Julia and Java are programming languages used to create different types of applications. Both offer different types of features to make coding easy. Julia enables work for parallel and distributed computing. Java does not run to improper method addresses. Java allows the collection of garbage. Julia defeats Java in syntax, speed and applications. Therefore, we will cover the main difference between these two extensively used programming languages in this article. What ... Read More

518 Views
JRE stands for Java Runtime Environment. It is mainly a part of the Java Development Kit (JDK). It is free of cost so we can easily find it on any software to use in our program. It consists of a Java class library, specific tools and many more important tools. JRE can be implemented on any operating system and it works as an outer layer of the operating system. It also consists of Integration Libraries and base libraries such as Java Database Connectivity (JDBC), Java Naming and Directory Interface (JNDI), Java Management Extension (JMX), Java Native Interface (JNI), Java for ... Read More

466 Views
JAVA is a robust, portable and highly secured programming language created by James Gosling at a company named Sun Microsystems, Inc. in 1991. The official name of this is OAK, Sun Microsystems renamed it JAVA in 1995. This company was taken over by Oracle Corporation. It is an all-purpose programming language and it is also an object-oriented programming language. JAVA is a widely used programming language in modern days. It contains various safeguards intended to prevent crashes at the time of program running such as Collection of garbage- no invalid addresses, checking of array and string boundaries, there is no ... Read More

1K+ Views
Mockito is built for testing the unit, whereas Wiremock is built specifically for the integration testing. Mockito aids itself as “a mocking framework that tastes really great” whereas wiremock stimulates itself as “a simulator for HTTP-based APIs”. Both wiremock and mockito are the technologies used for testing that is widely used for unit and integration testing in natural world applications. Developers have to understand these two important terms and how they differ from each other to use them in an effective way. Therefore, we will cover the main difference between these two extensively used tools in this article. What ... Read More

139 Views
The task is to build an application which displays an expression and prompts for the answer. Once you enter the solution a new expression is displayed and these expressions keep on changing. After a certain amout of time the solution given for the respective application were evaluated and the total number of accurate answers were displayed. Methods (User defined) in the Game The section will walk you through the methods (and constructor) that are part of the implementation and their roles in the “Calculate Expression Game”. CalculateExpressionGame() This is the constructor of the calculateExpressionGame class. It sets up the ... Read More