
Search In
Hi Team,
Today I will explain Lazy Loading and Eager Loading.
Firstly we will explore Eager Loading.
Eager Loading is the process of loading the related data. We will use Include keyword to load the related data.
Let us take an example of entity
Two decades ago, the manufacturing industry was considered to be one of the least technologically advanced industries. Companies were still using old technologies and didn’t seem receptive to adopting new technologies.
Fast-f
Method Overloading
Creating a multiple methods with same name and with different argument list is known as method overloading.
When we are overloading a method argument, list should be unique i.e, it should be unique with either number of arguments
How to create an array in JavaScript?
Before going for the above question we should be clear about What is an Array?
An array is a sequential collection of variables or we can say an array is a special variable, which can hold more than one value
Wrapper classes are used to convert any data type into an object.
a wrapper class gets enclose around a data type and appears as an object.
for example:
int k = 100;
Integer it1 = new Integer(k);
The int data type k is converted into an object, it1
SQL Cross means cartesian product of the rows of two or more tables . It return all the rows of the table when each row of the first table combined with the each row of the second table . It is also known as cartesian or cross join .
Cross Join can b
If you want to get thumbnail image from the recorded video in iOS then you can cut a small frame from that video to generate an image. You just need to send video output URL to below method as a parameter. This method willl return you NSData. Later y
Passing date to the function and returning the time passed or elapsed when it was commented/posted. It is very useful when you have comment section in your website and you want to show how earlier comment was posted.
/**
* Creating the date differ
We can achieve this using javascript or using jquery.Below methods demonstrate it.
Method 1: Use any JavaScript to include another js file.
Step 1: Add following function in your page.
function includeScript(url)
{
var head = document.get
The Answer to this question is yes, we can use enum in java with switch statement. the following examle shows how:
enum Car{THAR,XUV,SCORPIO}
class Cars {
Car car;
Cars(Car car)
{
this.car= car;
}
public void tell
