
Search In
When return type of the method of super class is different than the return type of method of subclass and it
is also a method overriding then it is known as covariant return type.
And here the return type is non primitive.
I am writing the simple ex
Sometime, we need to remove or replace some particular character from a String.
Below is the method by which we can accomplish this. I am using replaceAll() method of the String.
replaceAll() have two parameter as an arguments. First one is the lis
Sometimes, we need to change some special character on String to fulfill our requirements.
For example, we need to show phone number, i.e, 2001256443 as (200)-125-6443
Now we use the substring method of String to solve it.
We just add String on the
Printing any field on an OpenERP report on a conditional basis, you can add a simple line in your report
[[(object.field == 'Some Value') and 'value1' or 'value2']] is equivalent to
if object.field:
print value1
else:
print value2
Suppose
Hii friends,
Many of you when you will start making a website in drupal will need to provide multiple language support.And providing so if you follow these easy steps you can easily make it. For making a multiple language site you need to configure
Hello Readers!
The below code is an example of Keyframe animation using CSS3-
HTML-
<div class="parent">
<div class="circle bulge"></div>
</div>
CSS-
.parent {
display: flex;
justify-content: center;
align-item
Hello Readers
In this article I will guide you about the font size diffidence pixels, points, ems & %.
Here is a flow chart below in which I have mention the difference between pixels, points, ems & %. these font sizes are not actual.
It's an
Triggers are recorded in database as record IDs (together with the model name) and refer to the workflow instance waiting for those records. The transition definition provides a model name (attribute trigger_model) and a Python expression (attribute
Hello Reader's If you want o get the total counts of a views on youtube video by api, then you can use the following php code.
<?php
$video_ID = 'your-video-ID'; //set the id from url
$JSON = file_get_contents("https://gdata.youtube.com/feeds/api
Hi All,
RSS feeds are the Rich Site Summary feeds, benefit users who want to receive timely updates from favorite websites or to aggregate data from many sites. Here i am using ABC News RSS feeds to get the news Update. A particular RSS feeds are on
