Wednesday, May 8, 2013

What Is HTML5 ?


Many people are saying that it’s about time for HTML5 HTML 4.01 was completed in 1999. Others are saying that what HTML5 offers is just too good to pass up. We hope you’ll agree with both opinions.

Tuesday, May 7, 2013

Java Interview Questions and Answers Part 11

Q91. What is casting?

There are two types of casting, casting between primitive numeric types and casting between object references. Casting between numeric types is used to convert larger values, such as double values, to smaller values, such as byte values. Casting between object references is used to refer to an object by a compatible class, interface, or array type reference.

Saturday, April 27, 2013

Java Interview Questions and Answers Part 10

Q81. Which class should you use to obtain design information about an object?

The Class class is used to obtain information about an object's design.

Monday, April 22, 2013

Java Interview Questions and Answers Part 9

Q71. Which package has light weight components?

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

Java Interview Questions and Answers Part 8

Q61. What is the purpose of the finally clause of a try-catch-finally statement?

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

Sunday, April 21, 2013

Java Interview Questions and Answers Part 7

Q51. How does Java handle integer overflows and underflows?

It uses low order bytes of the result that can fit into the size of the type allowed by the operation.

Java Interview Questions and Answers Part 6

Q41.  What are wrapped classes?

Wrapped classes are classes that allow primitive types to be accessed as objects.

Saturday, April 20, 2013

Java Interview Questions and Answers Part 5

Q31. What happens when a thread cannot acquire a lock on an object?

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.

Thursday, April 18, 2013

Parallelizing a Long Running Service

We will write some simple sample code that will simulate a long running service call.
You are going to use the PayrollServices.GetPayrollDeduction() method which is provided with the begin solution of this article. This is the type of long running code that you would ultimately like to run in parallel.

Saturday, April 13, 2013

Java Interview Questions and Answers Part 4


Q21. What is multi-threading?

Multi-threading means various threads that run in a system.

Thursday, April 11, 2013

Andoid Apps for Absolute Beginners



Anybody can start building simple apps for the Android platform, and this book will show you how!  Recently updated to include Android Jelly Bean, Android Apps for Absolute Beginners, Second Edition takes you through the process of getting your first Android apps up and running using plain English and practical examples. 

Java Interview Questions and Answers Part 3


Q11. Name the container which uses Border Layout as their default layout?

A container which uses Border Layout as their default are: window, Frame and Dialog classes.

Java Interview Questions and Answers Part 2


Q1. How are Observer and Observable used?

Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated, it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects.

Tuesday, April 9, 2013

Java Interview Questions and Answers Part 1

Q1. What is Collection API ?

The Collection API is a set of classes and interfaces that support operation on collections of objects. These classes and interfaces are more flexible, more powerful, and more regular than the vectors, arrays, and hashtables if effectively replaces. Example of classes: HashSet, HashMap, ArrayList, LinkedList, TreeSet and TreeMap. Example of interfaces: Collection, Set, List and Map.