Nitya Raut has Published 272 Articles

How to retrieve multiple ResultSets from a stored procedure using a JDBC program?

Nitya Raut

Nitya Raut

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

5K+ Views

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 statements. ... Read More

How to use COUNT () in Android sqlite?

Nitya Raut

Nitya Raut

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

700 Views

Before getting into example, we should know what sqlite data base in android is. SQLite is an open source SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation. SQLite supports all the relational database features. In order to ... Read More

How to use Constraint Layout with recyclerview?

Nitya Raut

Nitya Raut

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

2K+ Views

This example demonstrate about How to use Constraint Layout with recyclerviewStep 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 to use firebase messaging in android application?

Nitya Raut

Nitya Raut

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

309 Views

This example demonstrate How to use firebase messaging in android applicationStep 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 src/MainActivity.java import android.os.Bundle; import android.support.v4.app.FragmentActivity; public class ... Read More

How to return a local array from a C/C++ function

Nitya Raut

Nitya Raut

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

137 Views

This is a C++ program return a local array from a function.AlgorithmBegin We can use dynamically allocated array to return a local array from function Array(). Print the elements of the array. EndExample Code Live Demo#include using namespace std; int* Array() { ... Read More

File Objects in Python?

Nitya Raut

Nitya Raut

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

4K+ Views

In python, whenever we try read or write files we don’t need to import any library as it’s handled natively.The very first thing we’ll do is to use the built-in open function to get a file object.The open function opens a file and returns a file object. The file objects ... Read More

How to use LONGTEXT value in Android sqlite?

Nitya Raut

Nitya Raut

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

228 Views

Before getting into example, we should know what sqlite data base in android is. SQLite is an open source SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation. SQLite supports all the relational database features. In order to ... Read More

Part of Speech Tagging with Stop words using NLTK in python?

Nitya Raut

Nitya Raut

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

192 Views

The main idea behind Natural Language Processing is machine can do some form of analysis or processing without human intervention at least to some level like understanding some part of what the text means or trying to say.While trying to process the text, computers needs to filter out useless or ... Read More

Proper use cases for Android UserManager.isUserAGoat()?

Nitya Raut

Nitya Raut

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

130 Views

This example demonstrate about Proper use cases for Android UserManager.isUserAGoat()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.     In the above code, ... Read More

Optimization Tips for Python Code?

Nitya Raut

Nitya Raut

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

229 Views

Though we all know python is not as fast or efficient as other complied languages. However, there are many big companies which shows us that python code can handle much bigger workload which shows it’s not that slow. In this section, we are going to see some of the tips ... Read More

Advertisements