-
CVS Configuration with eclipse
What is cvs ? How we configure with an IDE like eclipse?
-
-
-
-
Inheritance interacts with encapsulation also.
Skill/Topic: AWT & AppletsA) TrueB) False
-
What does the keyword "synchronize" mean in java. When do you use it? What are the disadvantages of synchronization?
Synchronize is used when u want to make ur methods thread safe. The disadvantage of synchronise is it will end up in slowing down the program. Also if not handled properly it will end up in dead lock.1. Only use (and minimize it's use)synchronization when writing multithreaded code as there is a speed (up to five to six time slower, depending on the execution time of the synchronized/nonsynchronized...
-
-
-
-
What are abstract classes, abstract methods?
Simply speaking a class or a method qualified with "abstract" keyword is an abstract class or abstract method. You create an abstract class when you want to manipulate a set of classes through a common interface. All derived-class methods that match the signature of the base-class declaration will be called using the dynamic binding mechanism. An abstract method is an incomplete method. It has only...
-
-
-
Implementing an interface and extending a class are the two ways of creating threads
Skill/Topic: AWT & AppletsA) TrueB) False
-
-
-
-
-
Name interfaces without a method? (Select multiple)
A) SerializableB) ClonebleC) RemoteD) UserDefined
-
Which of the following statements can be used to describe a public method? (Select multiple)
A) It is accessible to all other classes in the hierarchyB) It is accessablde only to subclasses of its parent classC) It represents the public interface of its classD) The only way to gain access to this method is by calling one of the public class methods
-
Java Interview Questions
Ans