Loading
Browsing articles in "Java"
Apr
29
2012

Java Interview Questions Part-3

java-image

Java Interview Questions Part-3: Q:        What are the different ways to handle exceptions? A:         There are two ways to handle exceptions, 1. By wrapping the desired code in a try block followed by a catch block to catch the exceptions. and 2. List the desired exceptions in the throws clause of the method and let the caller of the method handle  those exceptions. Q:        What is the basic difference between the 2 approaches to exception [...]

Apr
27
2012

JSP Interview Questions Part-1

javascript

JSP Interview Questions Part-1  and further parts will be updated soon… Q:           What is a output comment? A:            A comment that is sent to the client in the viewable page source.The JSP engine handles an output comment as uninterpreted HTML text, returning the comment in the HTML output sent to the client. You can see the comment by viewing the page source from your Web browser. JSP Syntax Example 1 <!– This is a commnet [...]

Apr
25
2012

Java Interview Questions Part-2

java

Java Interview Questions and Answers Part-2: This is a list of questions I have gathered from other sources and created myself over a period of time from my experience I have finally taken the time to go through each question and correct them to the best of my ability.  However, please feel free to post feedback to challenge, improve, or suggest new questions. Q:        Can a public class MyClass be defined in a source file named YourClass.java? [...]

Apr
12
2012

Java Interview Questions Part-1

java-image

Java Interview questions part-1 Q:        What is Overriding? A:         When a class defines a method using the same name, return type, and arguments as a method in its superclass, the method in the class overrides the method in the superclass. When the method is invoked for an object of the class, it is the new definition of the method that is called, and not the method definition from superclass. Methods may be overridden to be [...]

Apr
10
2012

J2EE Interview Questions and Answers Part-1

j2ee-150X150

J2EE Interview Questions – Part1 1.     What is J2EE? J2EE is an environment for developing and deploying enterprise applications. The J2EE platform consists of a set of services, application programming interfaces (APIs), and protocols that provide the functionality for developing multi tiered, and web-based applications. 2.     What is the J2EE module? A J2EE module consists of one or more J2EE components for the same container type and one component deployment descriptor of that type. 3.     [...]

Apr
8
2012

EJB Interview Questions Part-1

ejb-150X150

EJB Interview Questions 1. What is EJB ? EJB stands for Enterprise JavaBean and is a widely-adopted server side component architecture for J2EE. It enables rapid development of mission-critical application that are versatile, reusable and portable across middleware while protecting IT investment and preventing vendor lock-in. 2. What is session Facade? Session Facade is a design pattern to access the Entity bean through local interface than accessing directly. It increases the performance over the network. [...]

Mar
19
2012

Basic Java Interview Questions

java-image

Basic Java interview questions: 1) What is OOPs? Ans: Object oriented programming organizes a program around its data,i.e.,objects and a set of well defined interfaces to that data. An object-oriented program can be characterized as data controlling access to code. 2) What is the difference between Procedural and OOPs? Ans: a) In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOPs program, unit of program is object, [...]

Pages:12»

Tutorials & Interview Questions

PageRank



E-Books of the month

Guide-to-HTML-JavaScript-and-PHP Sams.Teach.Yourself.C.plus.plus.in.24.Hours.5th.Edition.2011 A limited time offer only for one month.The Books are Guide to HTML, JavaScript and PHP For Scientists and Engineers & Sams Teach Yourself is a Book in which you can learn the c++ within 24 hours...

Enter your Email to Grab free E-Books


didn't receive the e book please contact us at info@downloadsparade.com

Recent Comments

Who's Online

  • 0 Members.
  • 3 Guests.

Stats