Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by karthikeya Boyini
Page 85 of 143
Java program to double the size of an array
In this article, we will learn how to double the size of an array in Java. This involves creating a new array with twice the length of the original array and copying the elements from the original array to the new, larger array. Problem Statement Create an initial array with predefined integer values and determine its length. Then, create a new array with double the length of the original array, copy the elements from the original array to the new one, and print the lengths of both the original and the new arrays to verify the resizing operation. Steps to ...
Read MoreJava Program to convert boolean to integer
To convert boolean to integer, let us first declare a variable of boolean primitive. boolean bool = true; Now, to convert it to integer, let us now take an integer variable and return a value “1” for “true” and “0” for “false”. int val = (bool) ? 1 : 0; Let us now see the complete example to convert boolean to integer in Java. Example public class Demo { public static void main(String[] args) { // boolean boolean bool = true; System.out.println("Boolean Value: "+bool); int val = (bool) ? 1 : 0; // Integer System.out.println("Integer value: "+val); } }OutputBoolean Value: true Integer value: 1
Read MoreHow to Check Which Apache Modules are Enabled/Loaded in Ubuntu 16.04
Apache is an open supply program on hand without cost. It runs on 67% of all web servers. It is speedy, risk-free, and comfortable. It may be extremely custom-made to satisfy the wants of many one-of-a-kind environments via utilizing extensions and modules.To install apache, use the following commands-$ sudo apt-get update $ sudo apt-get install apache2 apache2ctlapcahe2ctl is a front end to the Apache HyperText switch Protocol (HTTP) server. It is designed to aid an administrator to control the functioning of the Apache HTTP daemon. To get the more information about apache2 modules, use the following command – $ man ...
Read MoreRead file line by line using C++
This is a C++ program to read file line by line.Inputtpoint.txt is having initial content as "Tutorials point."OutputTutorials point.AlgorithmBegin Create an object newfile against the class fstream. Call open() method to open a file “tpoint.txt” to perform write operation using object newfile. If file is open then Input a string “Tutorials point" in the tpoint.txt file. Close the file object newfile using close() method. Call open() method to open a file “tpoint.txt” to perform read operation using object newfile. If file is open then Declare a ...
Read MoreVideo Ads for Mobile Devices – A Successful Recipe for Your Digital Campaign
Have you remembered your first book, the first lessons as a kid? Probably you may not recall the text written over there, but one thing you can surely recall that there were attractive images of animals, vehicles, fruits, vegetables and much more, isn’t it? And what about those videos of beautiful rhymes that you loved to watch being a kid? You can still remember a few of them, isn’t it? That is the power of video message; a good video can keep its viewer engaged and leave an impact which can be recalled after long years.So, why don’t you use ...
Read MoreWhy did Facebook recently buy passwords off Black market?
Facebook, a very popular social networking site, that helps you connect with people. Some of you are well acquainted with and some you don’t, still you get a chance to make new friends and we learn a lot of things, updates on latest movies’ gossip and the list goes on. So, our Facebook account is a pass key to know everything going around the world starting from our street, city, to country and world.Just like bank accounts we prefer to keep our Facebook account private, just to ourselves, like you can share your account number with someone but not your ...
Read MoreTips For Preparing MCSE Certification Exams
In this highly competitive world, increasing population of educated people and explosion of media and communication, selecting a career is like walking on a sharpened sword. This is so true for the IT industry, as statistically, the competition is more in this industry. There are numerous or so shall I say “infinite” scope in this Industry and one must understand each, to select the appropriate stream, as per his/her own competencies. One such scope is the “Solutions expert” or “Microsoft Certified Solutions Expert (MCSE)”.MCSE Certification can be done once you have ample experience of configuring and troubleshooting computer frameworks run ...
Read MoreThe World of Smartphones and Where it is Heading!!
In this era of digital technology, we are habituated of things being handy. like you don’t know something – Google it, and we don’t need an iPad or a laptop for googling things, just a smartphone that comes with this smart technology. In fact, we may forget to have breakfast in the morning, but not our smartphones. Be it for googling, for social networking, not to forget the selfies and games, of course.Now, talking about smartphones, I remember the exploding smartphone. That’s not the name; recently while travelling my way back to home, my flight attendant was announcing all the ...
Read MoreSecrets to Crack UPSC Exams in the First Attempt
Union Public Service Commission (UPSC) is a premier government based recruiting authority in India. It fills various key posts of Indian bureaucracy, such as Indian Administrative Services (IAS), Indian Police Services (IPS), Indian Foreign Services (IFS), Indian Revenue Services (IRS) and 24 such reputed services that offer an immense potential to serve the nation. UPSC also advertises for filling of many other vacancies across various organizations and companies that are under Indian Government too. UPSC, hence, is considered as the Mother of All Jobs in India. As you move ahead you will learn easy tips to crack UPSC exam in ...
Read MoreHow to Avoid online Scams on Facebook?
With seven hundred million plus users all over the globe, Facebook is a perfect podium for scam artists. For a scammer, it requires little research on your interest, one simple friend request and once you add them in your friend list, the further process of phishing and scamming runs smoothly.This mega program runs through ‘Social Engineering’, which means understanding common user habit along with behavior and make best use of those to design eye-catching headlines. A simple click on them can redirect you safely to unsafe scam page. There you might be asked to input your login details and personal ...
Read More