Karthikeya Boyini has Published 2639 Articles

How to Check Which Apache Modules are Enabled/Loaded in Ubuntu 16.04

karthikeya Boyini

karthikeya Boyini

Updated on 29-Feb-2024 13:55:47

231 Views

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

Can we overload or override a static method in Java?

karthikeya Boyini

karthikeya Boyini

Updated on 01-Dec-2023 11:49:35

3K+ Views

If a class has multiple functions by the same name but different parameters, it is known as Method Overloading. If a subclass provides a specific implementation of a method that is already provided by its parent class, it is known as Method Overriding. Method overloading increases the readability of the program. ... Read More

How to draw a polyline in HTML5 SVG?

karthikeya Boyini

karthikeya Boyini

Updated on 22-Nov-2023 04:21:13

893 Views

SVG stands for Scalable Vector Graphics and is a language for describing 2D-graphics and graphical applications in XML and the XML is then rendered by an SVG viewer. Most of the web browsers can display SVG just like they can display PNG, GIF, and JPG.To draw a polygon in HTML ... Read More

Conversion of Array To ArrayList in Java

karthikeya Boyini

karthikeya Boyini

Updated on 07-Nov-2023 03:12:20

48K+ Views

We can convert an array to arraylist using following ways.Using Arrays.asList() method - Pass the required array to this method and get a List object and pass it as a parameter to the constructor of the ArrayList class.Collections.addAll() method - Create a new list before using this method and then add array ... Read More

E.F. Codd’s 12 Rules for RDBMS

karthikeya Boyini

karthikeya Boyini

Updated on 01-Nov-2023 20:14:55

31K+ Views

Database Management System or DBMS essentially consists of a comprehensive set of application programs that can be leveraged to access, manage and update the data, provided the data is interrelated and profoundly persistent. Just like any management system, the goal of a DBMS is to provide an efficient and convenient ... Read More

Determining how many digits there are in an integer in C++

karthikeya Boyini

karthikeya Boyini

Updated on 31-Oct-2023 02:43:30

23K+ Views

Here we will see how to check how many digits are there in an integer in C++. At first we will see the traditional rule, then see one short method to find.In the first method, we will reduce the number using dividing it by 10. And count until the number ... Read More

EOF, getc() and feof() in C

karthikeya Boyini

karthikeya Boyini

Updated on 14-Sep-2023 20:45:57

23K+ Views

EOFEOF stands for End of File. The function getc() returns EOF, on success..Here is an example of EOF in C language, Let’s say we have "new.txt" file with the following content.This is demo! This is demo!Now, let us see the example.Example#include int main() {    FILE *f = fopen("new.txt", ... Read More

Read file line by line using C++

karthikeya Boyini

karthikeya Boyini

Updated on 14-Sep-2023 13:43:23

24K+ Views

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

Split String with Comma (,) in Java

karthikeya Boyini

karthikeya Boyini

Updated on 13-Sep-2023 15:45:12

27K+ Views

Let’s say the following is our string.String str = " This is demo text, and demo line!";To split a string with comma, use the split() method in Java.str.split("[, ]", 0);The following is the complete example.Example Live Demopublic class Demo {     public static void main(String[] args) {        String str = "This is demo text, and demo line!";   ... Read More

array_search() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 13-Sep-2023 14:04:38

26K+ Views

The array_search() function searches an array for a given value and returns the key. The function returns the key for val if it is found in the array. It returns FALSE if it is not found. If val is found in the array arr more than once, then the first ... Read More

1 2 3 4 5 ... 264 Next
Advertisements