Jennifer Nicholas has Published 329 Articles

How to call a stored procedure that returns output parameters, using JDBC program?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

9K+ Views

A. Stored procedures are sub routines, segment of SQL statements which are stored in SQL catalog. All the applications that can access Relational databases (Java, Python, PHP etc.), can access stored procedures.Stored procedures contain IN and OUT parameters or both. They may return result sets in case you use SELECT ... Read More

How to use size() in android CopyOnWriteArraySet?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

53 Views

   Before getting into an example, we should know what CopyOnWriteArraySet is. It is a thread-safe variant of ArrayList and operations add, set, and so on by making a fresh copy of the underlying array.This example demonstrates about How to use size() in android CopyOnWriteArraySetStep 1 − Create a new ... Read More

How to get current Wi-Fi link speed in android?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

988 Views

This example demonstrates How to get current Wi-Fi link speed in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. ... Read More

How do you reverse a string in place in C or C++?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

478 Views

In this section we will see how to reverse a string in place. So we will not use some other memory spaces for reversing. In C++, we can use the std::string. But for C we have to use the character array. In this program we are using the character array ... Read More

How to use subList() in android CopyOnWriteArrayList?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

88 Views

Before getting into the example, we should know what CopyOnWriteArrayList is. It is a thread-safe variant of ArrayList and operations add, set, and so on by making a fresh copy of the underlying array.This example demonstrates about How to use subList() in android CopyOnWriteArrayListStep 1 − Create a new project ... Read More

How to connect to an SQLite database using a JDBC program?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

1K+ Views

A. SQLite is an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. It is a database, which is zero-configured, which means like other databases you do not need to configure it in your system.SQLite engine is not a standalone process like other databases, you can link ... Read More

How to use take() in android PriorityBlockingQueue?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

104 Views

Before getting into the example, we should know what PriorityBlockingQueue is. It is an unbounded queue and follows the same order as a priority queue. The main usage of priority blocking queue is, it going to handle out of memory error.This example demonstrates about How to use take() in android ... Read More

C++ Program to Implement Priority_queue in STL

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

92 Views

Priority queues are a type of container adapters, in which the first element of the queue is the greatest of all elements in the queue. Elements are in also non decreasing order in the priority queue. An element with high priority is served before an element with low priority, in ... Read More

How to connect to Derby database using a JDBC program?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

1K+ Views

Apache Derby is a Relational Database Management System which is fully based on (written/implemented in) Java programming language. It is an open source database developed by Apache Software Foundation.Installing derby:Follow the steps given below to install derby:Visit the home page of Apache Derby home page https://db.apache.org/derby/. Click the Download tab.Select ... Read More

Android create shortcuts on the home screen

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jul-2019 22:30:25

765 Views

This example demonstrates about Uninstall APKs programmaticallyStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken ... Read More

Advertisements