Ask Questions & Get Answers at ibibo sawaal

priyanka's Questions & Answers

154

Rank

5780

1606

0

4

What is transient variable?

Asked by Bablu Dskfl in Computers & Accessories at   6:46 PM on November 13, 2008

priyanka's Answer

Transient variable can't be serialize. For example if a variable is declared as transient in a Serializable class and the class is written to an ObjectStream, the value of the variable can't be written to the stream instead when the class is retrieved from the ObjectStream the value of the variable becomes null.

Answered at 9:58 PM on November 13, 2008

Read all answers

Name the containers which uses Border Layout as their default layout?

Asked by Bablu Dskfl in Computers & Accessories at   6:49 PM on November 13, 2008

priyanka's Answer

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

Answered at 9:57 PM on November 13, 2008

Read all answers

What is similarities/difference between an Abstract class and Interface

Asked by Bablu Dskfl in Computers & Accessories at   7:00 PM on November 13, 2008

priyanka's Answer

interface contains methods that must be abstract; abstract class may contain concrete methods. interface contains variables that must be static and final; abstract class may contain non-final and final variables. members in an interface are public by default, abstract class may contain non-public members. interface is used to "implements"; whereas abstract class is used to "extends".

Answered at 9:48 PM on November 13, 2008

Read all answers

Is Iterator a Class or Interface? What is its use?

Asked by Bablu Dskfl in Computers & Accessories at   6:52 PM on November 13, 2008

priyanka's Answer

its an interface
use & benefits are-

* Use a standard interface to represent data objects.
* Use s standard iterator built in each standard collection, like List, Sort, or Map.
* Need to distinguish variations in the traversal of an aggregate.
* Similar to Enumeration class, but more effective.
* Need to filter out some info from an aggregated collection.
* Related patterns include

Answered at 9:51 PM on November 13, 2008

Read all answers

What is Collection API

Asked by Bablu Dskfl in Computers & Accessories at   6:51 PM on November 13, 2008

priyanka's Answer

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.

Answered at 9:52 PM on November 13, 2008

Read all answers

What do you understand by Synchronization

Asked by Bablu Dskfl in Computers & Accessories at   6:49 PM on November 13, 2008

priyanka's Answer

Synchronization is a process of controlling the access of shared resources by the multiple threads in such a manner that only one thread can access one resource at a time. In non synchronized multithreaded application, it is possible for one thread to modify a shared object while another thread is in the process of using or updating the object's value.
Synchronization prevents such type of data corruption.

Answered at 9:54 PM on November 13, 2008

Read all answers

What is quantum computing, and how will it work?

Asked by Kaushal in Computers & Accessories at   8:39 PM on November 13, 2008

priyanka's Answer

A quantum computer is any device for computation that makes direct use of distinctively quantum mechanical phenomena, such as superposition and entanglement, to perform operations on data. In a classical (or conventional) computer, the amount of data is measured by bits; in a quantum computer, the data is measured by qubits. The basic principle of quantum computation is that the quantum properties of particles can be used to represent and structure data, and that quantum mech

Answered at 9:37 PM on November 13, 2008

Read all answers

How might quantum computing change video games?

Asked by Kaushal in Computers & Accessories at   8:36 PM on November 13, 2008

priyanka's Answer

Very difficult to say. Quantum computers could process information at speeds approaching the speed of light or possibly beyond because of the way particle interaction occurs within a quantum computer.
Information would be encryptable to the point where code cracking would be impossible and particles could in theory exist in both a 0 and 1 state which would turn the existing binary logic based computing system on its head.

It will take the best part of 25 years for us to truy realise what we can do with quantum computers but I imagine in conjunction with other technology we'd be getting towards a full virtual reality system.

Answered at 9:44 PM on November 13, 2008

Read all answers

What is the latest in quantum computing?

Asked by Kaushal in Computers & Accessories at   8:37 PM on November 13, 2008

priyanka's Answer

Quantum computing is the area of study focused on developing computer technology based on the principles of quantum theory , which explains the nature and behavior of energy and matter on the quantum (atomic and subatomic) level. Development of a quantum computer , if practical, would mark a leap forward in computing capability far greater than that from the abacus to a modern day supercomputer , with performance gains in the billion-fold realm and beyond. The quantum computer, following the laws of quantum physics, would gain enormous processing power through the ability to be in multiple states, and to perform tasks using all possible permutations simultaneously. Current centers of research in quantum computing include MIT, IBM, Oxford University, and the Los Alamos National Laboratory.

The essential elements of quantum computing originated with Paul Benioff, working at Argonne National Labs, in 1981. He theorized a classical computer operating with some quantum mechanical principles. But it is generally accepted that David Deutsch of Oxford University provided the critical impetus for quantum computing research. In 1984, he was at a computation theory conference and began to wonder about the possibility of designing a computer that was based exclusively on quantum rules, then published his breakthrough paper a few months later. With this, the race began to exploit his ideas. However, before we delve into what he started, it is beneficial to have a look at the background of the quantum world.

Answered at 9:41 PM on November 13, 2008

Read all answers

How to define an Abstract class

Asked by Bablu Dskfl in Computers & Accessories at   7:01 PM on November 13, 2008

priyanka's Answer

This set of tutorials explain how to create abstract classes. These are classes which define some data and methods but which are incomplete. Abstract classes are useful because they make defining extensions and variants easier.

For this tutorial an abstract drum beat class will be created. In the tutorials following this, there will be subclasses which define variations on drum beats: a shuffle drum beat, a disco beat and others.

Answered at 9:46 PM on November 13, 2008

Read all answers

Editor's Pick

Categories

sawaal signature
sawaal free visiting card