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

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.

Monday, April 8, 2013

Creating Discovery Proxy part 1

All the previous posts in WCF have relied on a well known UDP multicast endpoint for discovery. The port and multicast address are specified by the WS-Discovery protocol documentation. The utilization of this multicast discovery is referred to as ad hoc discovery. Ad hoc discovery is limited to recognizing only services on the same subnet. Managed discovery allows you to locate services no matter where they are, as long as they are registered with a discovery proxy.

Sunday, April 7, 2013

Pro WPF and Silverlight MVVM

WPF and Silverlight are unlike any other user interface (UI) technologies. They have been built to a new paradigm that—if harnessed correctly—can yield unprecedented power and performance. This book shows you how to control that power to produce clean, testable, maintainable code.

Saturday, April 6, 2013

ADO.NET 4 Step by Step

Teach yourself the fundamentals of ADO.NET 4 -- one step at a time. With this practical, learn-by-doing tutorial, you get the clear guidance and hands-on examples you need to start creating applications for Windows and Web.

How to Make Money Online with a Membership Site



One of the easiest ways to create a recurring income online is with a membership site. In fact, there’s been a huge increase in the number of membership sites over the past few years. There are sites available for nearly every interest that you can imagine.

How to Make Money Online a Local Online Mall


Another way to make money online while helping small business owners in your hometown or local area is with a local online mall.

Wednesday, April 3, 2013

Pro C# 2010 and the .NET 4 Platform

The first edition of this book was released at the 2001 Tech-Ed conference in Atlanta, Georgia. At that time, the .NET platform was still a beta product, and in many ways, so was this book. This is not to say that the early editions of this text did not have merit—after all, the book was a 2002 Jolt Award finalist and it won the 2003 Referenceware Excellence Award. However, over the years that author Andrew Troelsen spent working with the common language runtime (CLR), he gained a much deeper understanding of the .NET platform and the subtleties of the C# programming language, and he feels that this fifth edition of the book is as close to a “final release” as he’s come yet.

Monday, April 1, 2013

How to Make Money Online as a Virtual Assistant


Do you have experience in the administrative field but don’t want to return to the workplace right now? Maybe you’re a new mother, are a college student, recently retired or recovering from an illness or operation.

Automatic Traffic Exchange

YallaTech Facebook page