Looking at the popularity and significance of a website one may has now decided to create his own 5-7 page business website. With that we shall need web pages for our business location map as well as a contact page and an official email id. There are various ways through which we can create a contact-us form so that it’s easier for clients to directly contact us through visiting our website page.For that first we need to setup our official email-id with our WordPress website. After that configuring that email-id will take us further in sending and receiving an email. ... Read More
To list all files in a directory and nested sub-directory, the Java program is as follows −Exampleimport java.io.File; public class Demo{ static void print_recursively(File[] my_arr, int my_index, int sub_level){ if(my_index == my_arr.length) return; for (int i = 0; i < sub_level; i++) System.out.print("\t"); if(my_arr[my_index].isFile()) System.out.println(my_arr[my_index].getName()); else if(my_arr[my_index].isDirectory()){ System.out.println("[" + my_arr[my_index].getName() + "]"); print_recursively(my_arr[my_index].listFiles(), 0, sub_level + 1); } ... Read More
DoubleConsumer is a functional interface from java.util.function package. This functional interface accepts a single double-valued argument as input and produces no output. This interface can be used as an assignment target for a lambda expression or method reference. DoubleConsumer contains one abstract method: accept() and one default method: andThen().Syntax@FunctionalInterface public interface DoubleConsumer { void accept(double value); }Example-1import java.util.function.DoubleConsumer; public class DoubleConsumerLambdaTest1 { public static void main(String args[]) { DoubleConsumer increment = doubleVal -> { // lambda expression System.out.println("Incrementing " + doubleVal + " by one"); System.out.println("Current Value : ... Read More
Many times a day we see images around us, but not all lure our attention towards them. But some do, they entice us, they teach us something new, they change our perspective and they draw us into a new world of beauty. We have a set of images here, that take you on a new journey, and make you see things that aren’t visible, things that you never knew existed, and things that one would have assumed impossible to create.The InvisibleGalaxy’s Magnetic Field − When you see it the first time, it makes no sense at all. This iconic image ... Read More
Who says living in an apartment building is to go without the joy of gardening. You can have beautiful flowers, veggies and fragrant plants in your balcony. In fact, choosing fragrant and insect repellent plants can make your home smell heavenly, look beautiful, lively and pest free.Balcony gardening depends primarily on the capacity of the balcony and exposure to sun light. This would mean you need to make the right choice for your pots and plants. And these right choices of décor adds a lot of beauty, style and freshness to your very own balcony garden.Tip 1 − Judge Balcony ... Read More
In today’s digital world, we can access just anything and everything, from our small handy buddy, our mobile smartphone. Our little handy phone has become our calendar, reminder, alarm clock, radio, music player, scheduler, phone book, bookstore, movie theater, gaming arcade, portable drive and many more roles it has adapted. With so many roles to play, it is difficult to decide how to accommodate everything in the limited memory space the smartphones have.With the rise of the usage of the cell phones, the number of apps available in play store is ever increasing. Everyday, thousands of apps make it to ... Read More
Many project managers know the pain of getting right resources at right time. And, when the necessity is for bulk requirements, then the problem increases to manifolds. Even on some occasions, due to resource crunch, the project gets delayed, and managers have to face the music from the customers. So, it is important to give appropriate attention to resource planning by accurately assessing the project’s scope to estimate the number of resources required to complete the work.Though, many companies have dedicated resource pools which provide an opportunity to directly acquire the required resources from there. But that may not be ... Read More
Advancements in technology have rendered the world digital and drives mankind to experience new wonders of astronomical proportions. Internet has moved us from relative absurdity to a path filled with clarity. Two of the many promising wonders of modern digital technology are the endearing fields of website development and mobile app development.What is Prototyping?Prototyping allows you to create a prototype version of your website/app without actually coding anything. Such prototypes can be used to create a basic functional model of the application, get initial feedback, give demos, experiment with UI/UX, etc.Prototyping is undoubtedly one of the many important stages of ... Read More
Using Microsoft’s PowerPoint software, people create new presentation for marketing, office, or college purpose, there are number of ways to share those presentations with others. Although, people can use these presentation as a slideshow for next business meeting, and collage guy or office people can use it to present their project at college or office. People can significantly increase number of eyes to see it by sharing it on a social media site such as Facebook. Using social media site Facebook, people can share slideshows, digital resumes and other PowerPoint presentations. This is quite simple to achieve by first converting ... Read More
LongConsumer is a in-built functional interface from java.util.function package. This interface can accept a single long-valued argument as input and doesn't produce any output. It can also be used as the assignment target for a lambda expression or method reference and contains one abstract method: accept() and one default method: andThen().Syntax@FunctionalInterface public interface LongConsumerExample-1import java.util.function.LongConsumer; public class LongConsumerLambdaTest { public static void main(String[] args) { LongConsumer displayNextVal = l-> { // lambda expression System.out.println("Display the next value to input : "+l); System.out.println(l+1); }; LongConsumer displayPrevVal ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP