A is wrong because a class can extend nly one class .B is wrong because a class can implement any number of interfaces.C is wronb because both can can be done simulteneously.So, D is correct
It is a compilation error it should be X extends Y implements Z
Reserved words are words that cannot be used as object or variable names in a Java program because they're already used by the syntax of the Java programming language.
Java reserved words are keywords that are reserved by Java functions or other uses that cannot be used as identifiers (e.g., variable names, function names, class names).
If a reserved word was used as a variable you would get an error or unexpected result.
Examples : Int, Long, Abstract, Class, Break, Catch, Case, Public, Static, Void,...
JavaScript, often abbreviated as JS, is a high-level, interpreted programming language that conforms to the ECMAScript specification.
JavaScript has
* curly-bracket syntax,
* dynamic typing,
* prototype-based object-orientation, and
* first-class functions.
Uses :
It is well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat.
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.