
Search In
JAVA
1) Java is completely an object oriented language.
2) Java does not have template classes.
3) Java supports multiple inheritance by the use of interface.
4) Java does not support concept of pointers.
5) java does not have header files
C++
1)
To get the current page url in laravel 4.x is as follow
$webpageURL=URL::to('/');
By using the above code it will automatically take the web page url.
Example:
Lets take a example of findnerd.
**http://findnerd.com/account#url=/postblog/94
Using for each In place of Normal loops in java
for each can be used to display the all the elements of the array.
Syntax :
for(datatype variablename : array)
{
// Do the work with varialble
}
example
public class Main {
Добрый день.
Вопрос, помогите, на работе дали задачу снять капли воды в фонтане, поискав нашел много высокоскоростных видеокамер от бытовых до профессиональных.
Характеристики съемки нужны следующие: 1780 x 1200px, 21600 кадр/с, 38 мкм. Нашел неск
You can hide Dockbar from you site by creating Theme. Use the below steps to hide the dockbar:
1. Create Liferay Plugin Project of type Theme.
2. Copy and paste template folder from docroot/ to docroot/_diff/ folder.
3. Now comment the below code
Hello Reader's if you have an array and you want it to converted into string with separated by coma then by using PHP you can do this as follow:-
You have to use Implode function
$arr = array(1,2,3,4,5,6,7,8,9);
$string = rtrim(implode(',', $arr)
In Python time functions handle time as a tuple of 9 numbers, given below example
0
4-digit year
2008
1
Month
1 to 12
2
Day
1 to 31
3
Hour
0 to 23
4
Minute
0 to 59
5
Second
0 to 61 (60 or 61 are leap-seconds)
6
Day of Week
0 to 6 (0 is Monday)
7
Da
To access values in lists, use the square brackets for slicing along with the index or indices to obtain value available at that index. For example −
#!/usr/bin/python
list1 = ['physics', 'chemistry', 1997, 2000];
list2 = [1, 2, 3, 4, 5, 6, 7 ];
p
Use the Array object’s sort method:
var fruitArray = ['strawberry','apple','orange','banana','lime'];
alert(fruitArray.sort()); // returns apple,banana,lime,orange,strawberry
The Array object’s sort method sorts the array elements alphabetically. T
Two dimensional array is a form of matrix in which users can have rows and columns as per need. We can think of table in which x no.of rows and y no.of columns are available.
Syntax:
int item = a[i,j]
This is a two dimensional array wh
