13 Feb 2019

Spring interview question
1) What is Spring? It is a lightweight, loosely coupled and integrated framework for developing enterprise applications in java. 2) What are the advantages of spring framework? Predefined Templates Loose Coupling Easy to test Lightweight Fast Development Powerful Abstraction Declarative support 3) What are the modules of spring framework? Test Spri...

13 Feb 2019

hibernate interview Question
1) What is hibernate? Hibernate is an open-source and lightweight ORM tool that is used to store, manipulate, and retrieve data from the database. 2) What is ORM? ORM is an acronym for Object/Relational mapping. It is a programming strategy to map object with the data stored in the database. It simplifies data creation, data manipulation, and data access. 3) Explain hibernate...

12 Feb 2019

programming question for java
1) Write a program to reverse any number. packagejavaapplication6; importutil.Scanner; publicclass JavaApplication6 { public static void main(String[] args) { int i, temp, sum=0, n; Scanner sc = new Scanner(System.in); n=sc.nextInt(); temp=n; while(n>0) { intr = n%10; sum = sum*10+r; n = n/10; } out.println("Reverse of Number is:-"+sum...

12 Feb 2019

Struts interview question
1) What is Struts? Struts is a framework for developing MVC-based framework. Struts2 is the combination of Webwork and struts1 frameworks. 2) What is the difference between struts1 and struts2? No. Struts1 Struts2 1) Action class is not POJO. You need to inherit abstract class. Action class is POJO. You don't need to inherit any class or implement any interface. ...

11 Feb 2019

oops concepts interview question
1) What are virtual Functions? In object-oriented programming, in languages such as C++, and Object Pascal, a virtual function or virtual method is an inheritable and overrideable function or method for which dynamic dispatch facilitated. This concept is an essential part of the (runtime) polymorphism portion of object-oriented programming (OOP). 2) What is overloading in OOPs? ...

11 Feb 2019

interview question for servlet
1) How many objects of a servlet is created? Only one object at the time of first request by servlet or web container. 2) What is the life-cycle of a servlet? Servlet is loaded servlet is instantiated servlet is initialized service the request servlet is destroyed 3) What are the life-cycle methods for a servlet? Method Description public void init(...

09 Feb 2019

jdbc INTERVIEW qUESTION
1) What is JDBC? JDBC is a Java API that is used to connect and execute the query to the database. JDBC API uses JDBC drivers to connect to the database. JDBC API can be used to access tabular data stored into any relational database. 2) What is JDBC Driver? JDBC Driver is a software component that enables Java application to interact with the database. There are 4 types of JDBC...

30 Jan 2019

Advanced Java
1) Explain run time polymorphism in Java ? Polymorphism can be explained as an object's ability to adapt to the program's context and take multiple forms. The method overriding is an example of run time polymorphism. You can have a method in a subclass, which overrides the method in its super classes with the same name and signature. At run time, Java virtual machine determines the ap...

29 Jan 2019

j2EE Interview Question
What is the Java 2 Platform Enterprise Edition (J2EE)? The Java 2 Platform Enterprise Edition (J2EE) is a set of coordinated specifications and practices that together enable solutions for developing, deploying, and managing multi-tier server-centric applications. Building on the Java 2 Platform, Standard Edition (J2SE), the J2EE platform adds the capabilities necessary to provide a com...

28 Jan 2019

Java TTraining Center in Coimbatore
1.What are Variable Arguments or varargs? Variable Arguments allow calling a method with different number of parameters. Consider the example method sum below. This sum method can be called with 1 int parameter or 2 int parameters or more int parameters. //int(type) followed ... (three dot's) is syntax of a variable argument. public int sum(int... numbers) { //inside the meth...