Jennifer Nicholas has Published 329 Articles

How to connect to PostgreSQL database using a JDBC program?

Jennifer Nicholas

Jennifer Nicholas

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

758 Views

PostgreSQL is an open source relational database management system (DBMS) developed by a worldwide team of volunteers. PostgreSQL is not controlled by any corporation or other private entity and the source code is available free of charge.PostgreSQL runs on all major operating systems, including Linux, UNIX (AIX, BSD, HP-UX, SGI ... Read More

How to send message from firebase console after creation project?

Jennifer Nicholas

Jennifer Nicholas

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

83 Views

Open your firebase page (https://console.firebase.google.com/) as shown below –Now select your project. In our case we have tutorialspoint project. It will direct to console page of project as shown below –Now scroll down right side menu to grow as shown below –In Grow tab select Cloud messaging as shown below ... Read More

Formatted string literals (f-strings) in Python?

Jennifer Nicholas

Jennifer Nicholas

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

541 Views

Python now provides new way to format strings, called f-strings. This features is available from Python 3.6 under PEP-498. They are so called (f-string) because of the letter ‘f’ prefix with a string. The letter ‘f’ also indicates that these f-strings can be used for formatting.Below are some of the ... Read More

How to get programmatically android device broad name?

Jennifer Nicholas

Jennifer Nicholas

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

217 Views

This example demonstrates How to get programmatically android device broad name.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 ... Read More

How to do reverse of string in Android?

Jennifer Nicholas

Jennifer Nicholas

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

1K+ Views

This example demonstrates How to do reverse of string in AndroidStep 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

C++ Program to Check the Connectivity of Directed Graph Using BFS

Jennifer Nicholas

Jennifer Nicholas

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

595 Views

To check connectivity of a graph, we will try to traverse all nodes using any traversal algorithm. After completing the traversal, if there is any node, which is not visited, then the graph is not connected.For the directed graph, we will start traversing from all nodes to check connectivity. Sometimes ... Read More

How does delete[] “know” the size of the operand array in C++

Jennifer Nicholas

Jennifer Nicholas

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

600 Views

New operator is used for dynamic memory allocation which puts variables on heap memory. Delete[] operator is used to deallocate that memory from heap. New operator stores the no of elements which it created in main block so that delete [] can deallocate that memory by using that number.Example Code Live ... Read More

How to use cardview in recyclerview?

Jennifer Nicholas

Jennifer Nicholas

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

368 Views

This example demonstrates about How to use cardview in 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 findViewById in Fragment?

Jennifer Nicholas

Jennifer Nicholas

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

5K+ Views

This example demonstrate about How to use findViewById in FragmentStep 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 Android Media Player Singleton?

Jennifer Nicholas

Jennifer Nicholas

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

381 Views

Before getting into an example, we should know what singleton design pattern is.  A singleton is a design pattern that restricts the instantiation of a class to only one instance. Notable uses include controlling concurrency and creating a central point of access for an application to access its data store.This ... Read More

Advertisements