
Search In
Anonymous means no name, a class with no name called as Anonymous class. But is has advantage like to create an instance of class in one step.
We can'e create an object of this class since it has no name.
An anonymous class can implement interf
Encapsulation is a process of wrapping code and data together into a single unit. Encapsulationis used to bind method and variables(data). Below is my sample code to demonstrate Encapsulation in java, in this first I have created food class and food
In this blog tutorial, i will explain how to override magento blocks using an XML- based configuration file. Config.xml is module configuration file in which we will override magento block.
As magento best practices, we should not change any core fil
I was working on a project that was hosted on Github. My project was hosted on Bitbucket. Both of them uses git. Now I have to create a fork of project in my Bitbucket repository. In order to be able to get updates and without downloading and replaci
In the below code example I have created a Tab layout, here I have created two methods, first is add text value and second in declare icons.You can see below example code it clearly describes How to add icon with text in tab layout.
// icon
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to manage error log in cakephp in 2.4.1 version?
If you want to create error log file in your CakePHP web application so firstly you have to search
location to error.log file in
Hello Guys
Bellow code will help you to generate excel file in java. Herebelow I have used apache poi jar file version: poi3.8.jar .
You can download jar file from given bellow link
http://poi.apache.org/download.html
Now Create ExcelExample.java
How to manage stored routines?
In the second part of the series we will see basic commands used to manage the Stored Routines
As these are also Database objects so the basic DDL commands hold true here also
Create
Alter
Drop
CREATE
The syntax
HABTM association is used when you have two models that need to be joined up, repeatedly, many times in many different ways.
So below is the following steps to follow to use the above relationship. First we create the database and its tables
The Tab
Sending Emails in Rails using Gmail Account
For sending emails in rails,ActionMailer Class is used. Emails can be sent using any service providers like Gmail, Sendgrid, Mandrill or any other. Here we will see how we can send the emails using ou
