Top Jasper Reports Developer Interview Preparation Guide
Download PDF

Jasper Reports Developer Frequently Asked Questions in various Jasper Reports Developer job Interviews by interviewer. The set of questions here ensures that you offer a perfect answer posed to you. So get preparation for your new job hunting

57 Jasper Reports Developer Questions and Answers:

Table of Contents:

Top  Jasper Reports Developer Job Interview Questions and Answers
Top Jasper Reports Developer Job Interview Questions and Answers

1 :: Do heavy weight components mean in Java Programming?

Heavy weight components like Abstract Window Toolkit (AWT), depend on the local windowing toolkit. For example, java.awt.Button is a heavy weight component, when it is running on the Java platform for Unix platform, it maps to a real Motif button. In this relationship, the Motif button is called the peer to the java.awt.Button. If you create two Buttons, two peers and hence two Motif Buttons are also created. The Java platform communicates with the Motif Buttons using the Java Native Interface. For each and every component added to the application, there is an additional overhead tied to the local windowing system, which is why these components are called heavyweight.

2 :: Explain the difference between Boolean & operator and the && operator in Java Programming?

If an expression involving the Boolean & operator is evaluated, both operands are evaluated. Then the & operator is applied to the operand. When an expression involving the && operator is evaluated, the first operand is evaluated. If the first operand returns a value of true then the second operand is evaluated. The && operator is then applied to the first and second operands. If the first operand evaluates to false, the evaluation of the second operand is skipped.
Operator & has no chance to skip both sides evaluation and && operator does. If asked why, give details as above.

3 :: Explain the difference between preemptive scheduling and time slicing in Java Programming?

Under preemptive scheduling, the highest priority task executes until it enters the waiting or dead states or a higher priority task comes into existence. Under time slicing, a task executes for a predefined slice of time and then reenters the pool of ready tasks. The scheduler then determines which task should execute next, based on priority and other factors.

4 :: Does garbage collection guarantee that program will not run out of memory?

No, it doesn't. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create objects that are not subject to garbage collection.

5 :: What are problems faced by Java programmers who don't use layout managers?

Without layout managers, Java programmers are faced with determining how their GUI will be displayed across multiple windowing systems and finding a common sizing and positioning that will work within the constraints imposed by each windowing system.

6 :: What advantages do Java's layout managers provide over traditional windowing systems?

Java uses layout managers to lay out components in a consistent manner across all windowing platforms. Since Java's layout managers aren't tied to absolute sizing and positioning, they are able to accommodate platform-specific differences among windowing systems.

7 :: How elements of a GridBagLayout organized in Java Programming?

The elements of a GridBagLayout are organized according to a grid. However, the elements are of different sizes and may occupy more than one row or column of the grid. In addition, the rows and columns may have different sizes.

8 :: Suppose if a class is declared without any access modifiers, where may the class be accessed in Java Programming?

A class that is declared without any access modifiers is said to have package or friendly access. This means that the class can only be accessed by other classes and interfaces that are defined within the same package.

9 :: What when a thread cannot acquire a lock on an object in Java Programming?

If a thread attempts to execute a synchronized method or synchronized statement and is unable to acquire an object's lock, it enters the waiting state until the lock becomes available.

10 :: Please explain the difference between Font and FontMetrics classes in Java Programming?

The FontMetrics class is used to define implementation-specific properties, such as ascent and descent, of a Font object.

11 :: Described peerless components?

The peerless components are called light weight components.

12 :: Which package has light weight components?

javax.Swing package. All components in Swing, except JApplet, JDialog, JFrame and JWindow are lightweight components in Java Programming.

13 :: Can an object reference be cast to an interface reference in Java Programming?

An object reference be cast to an interface reference when the object implements the referenced interface.

14 :: Please explain the difference between Window and a Frame in Java Programming?

The Frame class extends Window to define a main application window that can have a menu bar.

16 :: What is object's lock and does object's have locks in Java Programming?

An object's lock is a mechanism that is used by multiple threads to obtain synchronized access to the object. A thread may execute a synchronized method of an object only after it has acquired the object's lock. All objects and classes have locks. A class's lock is acquired on the class's Class object.

17 :: Described the abstract method in Java Programming?

An abstract method is a method whose implementation is deferred to a subclass in Java Programming.

18 :: Define high-level thread states in Java Programming?

The high-level thread states are ready, running, waiting, and dead.

19 :: Which must a class do to implement an interface in Java Programming?

It must provide all of the methods in the interface and identify the interface in its implements clause.

20 :: Explain the purpose of the wait(), notify(), and notifyAll() methods in Java Programming?

The wait(),notify(), and notifyAll() methods are used to provide an efficient way for threads to communicate each other in Java Programming.

21 :: What is finally clause of a try-catch-finally statement in Java Programming?

The finally clause is used to provide the capability to execute code no matter whether or not an exception is thrown or caught.

22 :: Define Locale class in Java Programming?

The Locale class is used to tailor program output to the conventions of a particular geographic, political, or cultural region.

23 :: Described the purpose of the Runtime class in Java Programming?

The purpose of the Runtime class is to provide access to the Java runtime system in Java Programming.

24 :: Define the purpose of the System class in Java Programming?

The purpose of the System class is to provide access to system resources in Java Programming.

25 :: Which Container method is used to cause the container to be laid out and redisplayed in Java Programming?

validate();
Container method is used to cause a container to be laid out and redisplayed in Java Programming.
Jasper Reports Developer Interview Questions and Answers
57 Jasper Reports Developer Interview Questions and Answers