02 Mar 2019

Java training in coimbatore
Introduction Java is an object oriented programming language. In early stages Sun microsystems acquired Java but now Oracle oversees Java. Founder of java is James gosling and Mike Sheridan with the help of Engineer PatrickNaughton. Initially the java is called as oak technology. Oak is already a registered keyword to get the trademark. so, the gang of three went out to the local c...

26 Feb 2019

selenium webdriver with java
How much java is needed for selenium testing? Java is one of the languages used to write automation scripts in the Selenium. Selenium supports other languages, as well as python, ruby, c #, javascript, etc. However, java gained wide acceptance in the industry as the preferred language for selenium. This means that it is advisable to learn java for selenium, as it will also help improv...

25 Feb 2019

java Servlet Interview question
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(...

23 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 typ...

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(...