What is method overloading and method overriding?
Method Overloading: When a method in a class having the same method name with different arguments is said to be method overloading. Method Overriding: When a method... Read more »
Method Overloading: When a method in a class having the same method name with different arguments is said to be method overloading. Method Overriding: When a method... Read more »
finalize() method is used just before an object is destroyed and can be called just prior to garbage collection. Read more »
It is always tricky when HR at the end of the interview says “Is there anything you would like to ask me?” So friends please ask some questions because... Read more »
All these functions generate a hash code and the basic difference among them is the length of the generated hash. crc32() gives 32 bit code sha1() gives 128 bit... Read more »
htmlspecialchars only takes care of , single quote, double quote and ampersand whereas htmlentities translates all occurrences of character sequences that have some... Read more »
echo, print and printf are used for printing strings but the basic difference between them is: echo is the most primitive of them, and just outputs the contents... Read more »
func_num_args() function returns the number of parameters passed in. Read more »
The basic difference is how they handle failures. If the file is not found by require(), it will cause a fatal error and halt the execution of the script. If the... Read more »
Unicode is used for internal representation of characters and strings and it uses 16 bits to represent each other. Read more »
final : final keyword can be used for class, method and variables. A final class cannot be subclassed and it prevents other programmers from subclassing a secure... Read more »
Public: Any thing declared as public can be accessed from anywhere. Private: Any thing declared as private can’t be seen outside of its class. Protected: Any thing... Read more »
An argument can be passed in two ways. They are Pass by Value and Passing by Reference. Passing by value: This method copies the value of an argument into the formal... Read more »
“bin” contains all tools such as javac, appletviewer, awt tool, etc. whereas “lib” contains API and all packages. Read more »
1. In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOP program, unit of program is object,... Read more »
Definitions of member functions for the Linked List class are contained in the LinkedList.cpp file. Read more »