Add a Favicon to Your WordPress Site

George John
Updated on 30-Jul-2019 22:30:21

238 Views

A favicon is a little icon visible on the web browser tab, just before the page title. It is generally a logo with the smaller size. You need to include a Site Icon in WordPress to add a favicon to your WordPress site. Login to your WordPress website and from the left menu; click Appearance, and then Customize − After that, you will reach the Theme Customization section. Under that, the first sub-section is Site Identity. From there, you need to go to the Site Icon and upload the icon. The size here is 512x512, from which the ... Read More

Constructors of StringTokenizer Class in Java

Anjana
Updated on 30-Jul-2019 22:30:21

250 Views

Following are the important constructors of the StringTokenizer class.Sr.No.Constructor & Description1StringTokenizer(String str)This constructor a string tokenizer for the specified string.2StringTokenizer(String str, String delim)This constructor constructs string tokenizer for the specified string.3StringTokenizer(String str, String delim, boolean returnDelims)This constructor constructs a string tokenizer for the specified string.

What is Static Import in Java

Krantik Chavan
Updated on 30-Jul-2019 22:30:21

727 Views

As import statement allows to use a class without its package qualification, static import allows to access the static members of a class without class qualifications. For Example, to access the static methods you need to call the using class name − Math.sqrt(169); But, using static import you can access the static methods directly. Example Live Demo import static java.lang.Math.*; public class Sample{ public static void main(String args[]){ System.out.println(sqrt(169)); } } Output 13.0

Maintaining Password Policy Parameters in SAP HANA System

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:21

806 Views

Note that actual parameter of password policy section is maintained by indexserver.ini system file. It is recommended that password policy should be configured using Security editor of SAP HANA Studio however this can also be done by editing indexserver.ini file.

When are Python Objects Candidates for Garbage Collection

Rajendra Dharmkar
Updated on 30-Jul-2019 22:30:21

264 Views

A python object or variable will be eligible for garbage collection as soon as all references to it go out of scope or are manually deleted (del x). We would have to presume there were no references to the object anywhere else for it to be garbage collected.

Changes to Indexserver.ini File for Password Policy in SAP HANA

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:21

328 Views

It is recommended that password policy should be configured using Security editor of SAP HANA Studio however this can also be done by editing indexserver.ini file.Note that direct changes to the indexserver.ini file cannot be audited.

Call JavaScript Function on Form Submit

mkotla
Updated on 30-Jul-2019 22:30:21

16K+ Views

The onsubmit event occurs when you try to submit a form. You can put your form validation against this event type. The following example shows how to use onsubmit. Here we are calling a validate() function before submitting a form data to the webserver. If validate() function returns true, the form will be submitted, otherwise it will not submit the data.     The HTML code snippet. …

Java String contains() Method Example

Manikanth Mani
Updated on 30-Jul-2019 22:30:21

146 Views

The contains() method of the String class returns true if and only if this string contains the specified sequence of char values.Example Live Demoimport java.lang.*; public class StringDemo {    public static void main(String[] args) {       String str1 = "tutorials point", str2 = "http://";       CharSequence cs1 = "int";             //string contains the specified sequence of char values       boolean retval = str1.contains(cs1);       System.out.println("Method returns : " + retval);             //string does not contain the specified sequence of char value       retval = str2.contains("_");       System.out.println("Methods returns: " + retval);    } }OutputMethod returns : true Methods returns: false

Why Can't Static Method Be Abstract in Java

radhakrishna
Updated on 30-Jul-2019 22:30:21

2K+ Views

A static method belongs to class not to object instance thus it cannot be overridden or implemented in a child class. So there is no use of making a static method as abstract.

Password Policy Parameter in Multi-Container System in SAP HANA

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:21

229 Views

In SAP HANA, password policy parameters for the system database of a multiple-container system are maintained in the namesever.ini file and not the indexserver.ini file.

Advertisements