Software Design Engineer 1
Software Design Engineer 1 Interview Questions and Answers
Q1. Difference between final finally and finalize
final, finally, and finalize are three different concepts in Java.
final is a keyword used to declare a constant value that cannot be changed
finally is a block of code that is executed after a try-catch block, regardless of whether an exception is thrown or not
finalize is a method that is called by the garbage collector before an object is destroyed
final can be used with variables, methods, and classes
finally is used to release resources or perform cleanup operations
finalize i...read more
Q2. Types of exception in java
Java has two types of exceptions: checked and unchecked.
Checked exceptions are checked at compile-time and must be handled or declared.
Unchecked exceptions are not checked at compile-time and can be handled or not.
Examples of checked exceptions: IOException, ClassNotFoundException.
Examples of unchecked exceptions: NullPointerException, ArrayIndexOutOfBoundsException.
Interview Questions of Similar Designations
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month