7. What’s new with the stop(), suspend() and resume() methods in JDK 1.2? The stop(), suspend() and resume() methods have been deprecated in JDK 1.2. 8. Is null a keyword? …
Java Programming
- Interview Questions and AnswersJava ProgrammingTechnical Interview Questions and Answers
- Interview Questions and AnswersJava ProgrammingTechnical Interview Questions and Answers
Advanced Java Interview Questions and Answers For Freshers and Experience Part-1
by Sby S1. What is a transient variable? A transient variable is a variable that may not be serialized. 2. Which containers use a border Layout as their default layout? The Window, …
- Interview Questions and AnswersJava ProgrammingTechnical Interview Questions and Answers
Java Basics Interview Questions and Answers For Freshers and Experience Part-15
by Sby S97. Difference between Swing and Awt? AWT are heavy-weight componenets. Swings are light-weight components. Hence swing works faster than AWT.
- Interview Questions and AnswersJava ProgrammingTechnical Interview Questions and Answers
Java Basics Interview Questions and Answers For Freshers and Experience Part-14
by Sby S91. Can a public class MyClass be defined in a source file named YourClass.java? No. The source file name, if it contains a public class, must be the same as …
- Interview Questions and AnswersJava ProgrammingTechnical Interview Questions and Answers
Java Basics Interview Questions and Answers For Freshers and Experience Part-13
by Sby S85. Is delete a keyword in Java? No. delete is not a keyword in Java. Java does not make use of explicit destructors the way C++ does. 86. Is exit …
- Interview Questions and AnswersJava ProgrammingTechnical Interview Questions and Answers
Java Basics Interview Questions and Answers For Freshers and Experience Part-12
by Sby S79. What is the catch or declare rule for method declarations? If a checked exception may be thrown within the body of a method, the method must either catch the …
- Interview Questions and AnswersJava ProgrammingTechnical Interview Questions and Answers
Java Basics Interview Questions and Answers For Freshers and Experience Part-11
by Sby S73. What are synchronized methods and synchronized statements? Synchronized methods are methods that are used to control access to an object. A thread only executes a synchronized method after it …
- Interview Questions and AnswersJava ProgrammingTechnical Interview Questions and Answers
Java Basics Interview Questions and Answers For Freshers and Experience Part-10
by Sby S67. What is daemon thread and which method is used to create the daemon thread? Daemon thread is a low priority thread which runs intermittently in the back ground doing …
- Interview Questions and AnswersJava ProgrammingTechnical Interview Questions and Answers
Java Basics Interview Questions and Answers For Freshers and Experience Part-9
by Sby S61. What is the purpose of finalization? The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.
- Interview Questions and AnswersJava ProgrammingTechnical Interview Questions and Answers
Java Basics Interview Questions and Answers For Freshers and Experience Part-8
by Sby S55. If I write System.exit(0); at the end of the try block, will the finally block still execute? No. In this case the finally block will not execute because when …