Java Related Interview Questions
Questions Answers Views Company eMail

What are the steps required to execute a query in jdbc?

534

Why do we use jdbc in java?

550

What is two-phase commit in the database?

525

Explain the steps in writing a java program using jdbc?

456

List the common jdbc exceptions ?

573

What is the directory structure of web application?

531

What is the base class of all exception classes?

591

What's the default access specifier for variables and methods of a class?

520

How can we make copy of a java object?

548

What's the base class in java from which all classes are derived?

749

What's the difference between an abstract class and interface in java?

565

What is the significance of java packages?

619

What are three types of loops in java?

592

Which types of exceptions are caught at compile time?

570

What is final keyword in java?

558


Un-Answered Questions { Java Related }

What are JDBC Best Practices?

555


What is the difference between shocks and struts?

504


What is use of @service in spring?

154


Are the struts tags xhtml compliant ?

545


Explain about the security aspect of java?

579






What is createstatement method in java?

516


What type of parameter passing does java support?

465


Why it is called ioc in spring?

151


What is the difference between the session.get() method and the session.load() method?

606


Can a singleton class be inherited?

534


Why do we need spring boot starter parent? : Spring Boot

138


What are dml and ddl?

544


How do you delete a list in java?

536


What is an application context?

164


What does inject it mean?

172