
Search In
Case Statement:
Case Statement is used to provide IF-ELSE functionality in a SQL query to fetch result. We provide multiple conditions and according to condition matches the value will change for that that column value.
Syntax:
SELECT CASE (colu
Hi,
When I trying to build/run the build in Android studio getting below two errors randomly.
Error:Execution failed for task ':iTSM:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.Zip
Hi All,
In programming world, we have to perform some basic operation on list or tuple but in python , it is easy to perform any operation on list or tuple. for example:-
If you have a number tuple/list like
data = [[1,10,8], [4,5,6], [7,8,
Hey guys! I want to write a program that finds the sum of cubed terms. i.e. 1**3 + 2**3 + n**3
I wrote down the following code:
// n = input('Give the value of n.')
n = int (n)
s = ((n(n+1))/2)**2
print ('Sum equals =', s
User Defined Exceptions:
In some situation a programmer needs to create and throw his own created exception and such type of exceptions are known as User defined Exception or Custom Exceptions.
To create own exceptions we have to Extend the Excep
addClass() method adds one or many methods or class to the paragraph or the element you are using,This method will not remove the class but it adds another class by using different attributes. Users and also add toggle function to it. It will added t
Singleton architecture as the name suggests will create a single instance of a class in the entire project.
We will instantiate the class object only once in the entire project and will reuse it again and again no need to create another obje
Enum:
It is a special data type used to define fixed set of constants . Enum can contain constants, methods etc. We can use enum with switch statement easily. Enum keyword is used to create enums.
Example:
class EnumDemo{
public enum Co
There are number of scenarios where you need to store your password in encrypted form.
While doing that you encrypt it using many techniques like MD5 Hashing etc whatever according to your requirement
When we use SQL encrypt and decrypt passw
In java any thread can be a Daemon thread. Basically daemon thread are those that works in background to support or to provide services for users threads running in same process.
If there are no any user threads available while daemon threads are ru
