![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions The null value is not a keyword. Latest Answer : ...true, false, and null might seem like keywords, but they are actually literals; you cannot use them as identifiers in your programs.[1][1]:http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html ... A (non-local) inner class may be declared as public, protected, private, static, final, orabstract. Latest Answer : An inner class is a full pledged member of the enclosing class (outer class), so it can be marked with any access modifier including abstract or final modifiers(neer both abstract and final together). But an inner class cannot contain any static members ... The sizeof operator is not a keyword. Latest Answer : No,sizeof is not a keyword. ... A local inner class may be final or abstract. Latest Answer : A local inner class may be declared as abstract or final.But not both at the same time. ... The compiler supplies a default constructor for a class if no other constructors areprovided. this() is used to invoke a constructor of the same class. super() is used to invoke asuperclass constructor. Latest Answer : this() is used to specify the current class or the child's class constructor alwaysand super() refers to the parent's class constructorTo use them follw the rules:super()has to be the first line in any case if you are using the parent's class ... An abstract class may not be declared as final. Tags : Abstract A top-level class may be public, abstract, or final. Latest Answer : default A top-level class may be public, abstract, or final. ... Latest Answer : final variable are like constants. ... Latest Answer : Method declared as final cannot be overridden but CAN be inherited. Example: The isAlive() method in Thread class is marked final but any subclass of class Thread inherits that method i.e. method isAlive() can be invoked on an instance of the subclass. ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||