
Search In
Has_one and Belongs_to relationship sometime become confusing so the main difference can be explained with the help of example:
1>Has_one :-
class Department < ActiveRecord::Base
has_one: employee
end
this means that employee table has a for
In the below example I will help you to use covariant return type in java. In covariant return will used overriding method. The covariant return type specifies the return type in the same direction as the subclass. Here in the below examp
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to pass arguments to PHP ?
If you want pass some arguments into function and elements of an array.
Then Your arguments will be receive by your function as d
In the below example I have created extend array function. Here first I have define array length then extend new array value. You can see below program it will clearly describe to extend array after initialization by creating an new array.
pu
Hi Team,
Today i will explain Boxing and Unboxing in C#.
C# Type system mainly divided into 3 parts:-
1. Value Type
2. Reference Type
3. Pointer Type
bool,byte,char,decimal,double,float,int,long,short are the value types
struct ,Class and obje
In the below example I have created Static JSON Parsing program in android. First I have added two TextView within RelativeLayout. In MainActivity I have used JSON object and JSON array JSON object within curly bracket ({) and JSON
While binding data with GridView control the two of major things that we want is to sort data and to filter data.
First thing can be done by writing Sql query with order by clause.
Select * from student order by StId
Secon
Hi Guys,
I am using twitter, Facebook, LinkedIn and Google+ for a while but new to Reddit- Front page of the internet. My profile link is Reddit Profile
Some how I am able to increase my Link Karma but my comment is Negative now.
Any one have Idea
While working with character and strings we need to use predefined string type functions for making our task easy and efficient.
Function
Work of Function
strlen()
Calculates the length of string
strcpy()
Hello Friends,
Configuration variable are the core variables in any project. In Codelgniter we have codelgniter/application/config/config.php file to set configuration variable. Like I want to set a font_size globally in my project then I need to op
