what is interface ?
Answers were Sorted based on User's Feedback
Answer / laddu
interface having all abstract methods and doesnt have imp;ementation
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / praveen ch
interface has only declaration part only not definition part
is not there,
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / abdul
interface like classes,define a set property or methods. but unlike classes, interface do not provide implementations they are implemented by classes and define as Separated entities from classes.(base classes can derive from more than derived classes)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / pks
interface is like a class.but it consist of abstract data member and member functions.it does not have the definition of function.
the function definition is declared by derived classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the method for reading and writing a file in javascript?
What is the role of javascript in a web page?
How to detect the operating system on the client machine?
Which built-in method returns the index within the calling string object of the first occurrence of the specified value?
What is postback in javascript?
How to define name function in javascript?
What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }
What's relationship between JavaScript and ECMAScript? And What are JavaScript types?
Are namespaces are there in javascript?
What is the difference between let, const, and var?
Are there any predefined constant provided by the browser with the key code values that can be reused?
What are global variables in javascript?