What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-26 00:05:51
php connection file
<?php /** * A class file to connect to database */ class DB_CONNECT { // constructor function __construct() { // connecting to dat... Add solution -
Python 2022-01-24 17:40:25
metaclass python
A metaclass is the class of a class. A class defines how an instance of the class (i.e. an object) behaves while a metaclass defines how a class behaves. A class is an instance of a metaclass. While in Python you can use arbitrary callables for metaclass... Add solution -
Java 2022-01-24 00:16:24
méthode retourne nom classe java
// retourne le nom de la classe, suivi du caractère @ et de son code en hexadecimal <className>.toString(); // retourne seulement son nom <className>.getClass().getName(); // Pour l'afficher à la console System.out.print(<clas... Add solution -
Java 2022-01-23 02:01:30
Difference between == operator and equals method in java
In general both equals() and == operator in Java are used to compare objects to check equality but here are some of the differences between the two: 1) .equals() and == is that one is a method and other is operator. 2) We can use == operator for referen... Add solution -
C++ 2022-01-23 00:55:33
class is replace by structure
1) Members of a class are private by default and members of a struct are public by default. For example program 1 fails in compilation and program 2 works fine. / Program 1 #include <stdio.h> class Test { int x; // x is private }; int m... Add solution -
Javascript 2022-01-22 22:26:24
show error message in tooltip jquery html
$("#frmArticle").validate({ submitHandler: function(form) { form.submit(); }, onfocusout: function(element) { //To remove the 'checked' class on the error wrapper var $errorContainer = $(element).siblings(&quo... Add solution -
Html 2022-01-22 20:06:31
bootstrap 4 tab panel
<!-- RH: this is bootstrap 5 tabbed panel --> <ul class="nav nav-tabs" id="myTab" role="tablist"> <li class="nav-item" role="presentation"> <a class="nav-link active" i... Add solution -
Other 2022-01-22 19:56:06
how to make a responsive website boots
<ul class="nav nav-pills flex-column"> <li class="nav-item"> <a class="nav-link active" href="#">Active</a> </li> <li class="nav-item"> <a class="n... Add solution
Best helpers
+10
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5