Multi Threading Java Interview Questions – Set 06

What can prevent the execution of the code in finally block ? and what are the rules for catching multiple exceptions? The death of thread – Use of system.exit() – Turning off the power to CPU – An exception arising in the finally block itself Rules for catching multiple exceptions – A more specific catch … Read more

Core Java Interview Questions – Set 05

What is the return type of a program’s main() method? A program’s main() method has a void return type. Can you change the reference of the final object No the reference cannot be change, but the data in that object can be changed What is the argument type of a program’s main() method A program’s main() method … Read more

Collections Java Interview Questions – Set 05

What is an Iterator Some of the collection classes provide traversal of their contents via a java.util.Iterator interface. This interface allows you to walk through a collection of objects, operating on each object in turn. Remember when using Iterators that they contain a snapshot of the collection at the time the Iterator was obtained; generally … Read more

JSP Java Interview Questions – Set 05

Can a JSP page process HTML FORM data Yes. However, unlike Servlet, you are not required to implement HTTP-protocol specific methods like doGet() or doPost() within your JSP page. You can obtain the data for the FORM input elements via the request implicit object within a scriptlet or expression as. Is there a way to … Read more

Exception Handling Java Interview Questions – Set 05

How do you intercept and thereby control exceptions We can do this by using try/catch/finally blocks You place the normal processing code in try block You put the code to deal with exceptions that might arise in try block in catch block Code that must be executed no matter what happens must be place in … Read more

Servlet Java Interview Questions – Set 05

Explain about ServletConfig Interface ServletConfig a ServletConfig object is used to obtain configuration data when it is loaded. There can be multiple ServletConfig objects in a single web application. This object defines how a servlet is to be configured is passed to a servlet in its init method. Most servlet containers provide a way to … Read more

AWS Interview Questions – Set 05

How can you secure the access to your S3 bucket? S3 bucket can be secured in two ways: ACL (Access Control List) ACL is used to manage the access of resources to buckets and objects. An object of each bucket is associated with ACL. It defines which AWS accounts have granted access and the type … Read more

Android Interview Questions – Set 05

Name some exceptions in Android? Inflate Exception Surface.OutOfResourceException SurfaceHolder.BadSurfaceTypeException WindowManager.BadTokenException Where are layouts placed in Android? Layouts in Android are placed in the layout folder. Who is the founder of Android? Andy Rubin. What is nine-patch images tool in Android? We can change bitmap images into nine sections with four corners, four edges, and an … Read more

Advanced Java Interview Questions – Set 05

Explain about addClass function This function translates a Java class name into file name. This translated file name is then loaded as an input stream from the Java class loader. This addclass function is important if you want efficient usage of classes in your code. So, which approach will you choose The best practice is … Read more

React Native Interview Questions – Set 05

What is the storage system in the React Native? React Native storage is a simple, unencrypted, asynchronous, persistent system, which stores the data globally in the app. It stores data in the form of a key-value pair. React Native provides AsyncStorage class to store data globally. Using the AsyncStorage class, we need to have a data backup and … Read more