Answer Posted / rajkumar ksr college
interface Used to declare a special type of class that only
contains abstract methods, constant ( static final ) fields
and static interfaces. It can later be implemented by
classes that declare the interface with the implements
keyword
http://en.wikipedia.org/wiki/Java_keywords
Class verifier from JDK 1.2 beta 4 also makes it impossible
for JavaGO to inline constructors and replace virtual calls
with non-virtual.JavaGO has special options -not-inline-
constructor and -not-use-invokespecial to disable such
optimizations.Option -not-inline-virtual prevents JavaGO
from inlining virtual methods (while it can still inline
final and static methods)and in conjunction with -not-use-
invokespecial option makesoptimization performed by JavaGO
really safe (such classes can be used with other classes
not presented to JavaGO), but looks like such
optimizationsalso can be done by Java compiler with -O
option.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Can each java object keep track of all the threads that want to exclusively access it?
Why stringbuffer is faster than string?
What does yield method of the thread class do?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is prefix of a string?
What is flush () in java?
Is Java a dying language?
What is string made of?
What is class forname?
What is a boolean field?
What are the java ide's? Explain
What are computer functions?
What is map java?
What are classloaders?
What is difference between classpath and path variables in java?