-
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...
-
Inheritance interacts with encapsulation also.
Skill/Topic: AWT & AppletsA) TrueB) False
-
-
-
-
CVS Configuration with eclipse
What is cvs ? How we configure with an IDE like eclipse?
-
-
If you want to mix fonts or colors within the text, or to have formatting such as multiple lines, you can use HTML
Skill/Topic: AWT & AppletsA) TrueB) False
-
A thread is a program's path of execution
Skill/Topic: AWT & AppletsA) TrueB) False
-
Extending a class is the way Java inherits methods and variables from a parent class.
Skill/Topic: AWT & AppletsA) TrueB) False
-
-
-
-
A method in Java, that calls itself is said to be recursive.
Skill/Topic: AWT & AppletsA) TrueB) False
-
-
FileDialog allows the user select a directory or file from a tree.
Skill/Topic: AWT & AppletsA) TrueB) False
-
-
RandomAccessFile is used for reading a few parts of data that are at known positions near the end of a large file.
Skill/Topic: AWT & AppletsA) TrueB) False
-
The content pane is the main container in JApplet, JDialog, and JFrame objects.
Skill/Topic: AWT & AppletsA) TrueB) False
-
Which Java operator is right associative
The = operator is right associative.
Java Interview Questions
Ans