Pages
Home
skip to main
|
skip to sidebar
Interview Questions and answers
What class allows you to read objects directly from a stream?
Answer :
The ObjectInputStream class supports the reading of objects from input streams.
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Labels
JAVA
JAVA Interview Questions and Answers
Blog Archive
►
2014
(13)
►
March
(13)
▼
2013
(115)
▼
December
(115)
How do you restrict a user to cut and paste from t...
What is a Java package and how is it used?
How do you know if an explicit object casting is n...
What is the ResourceBundle class?
What interface must an object implement before it ...
What is the difference between the File and Random...
What is the purpose of the enableEvents() method?
How can you force garbage collection?
What is the Set interface?
Java Interview Questions - What is an IO filter?
How is it possible for two String objects with ide...
How are this() and super() used with constructors?
What class allows you to read objects directly fro...
Explain the usage of the keyword transient?
Java Interview Questions - What is casting?
What restrictions are placed on method overriding?
Why would you use a synchronized block vs. synchro...
What is the purpose of the File class?
What is the difference between the paint() and rep...
What is the difference between static and non-stat...
What are the problems faced by Java programmers wh...
What advantage do Java's layout managers provide o...
How are the elements of a GridBagLayout organized?
How can a GUI component handle its own events?
Which class should you use to obtain design inform...
Java Interview Questions - Name primitive Java types?
Does a class inherit the constructors of its super...
Java Interview Questions - What is the Map interface?
If a class is declared without any access modifier...
What is the difference between throw and throws ke...
What classes of exceptions may be caught by a catc...
What is the difference between the Reader/Writer c...
What is the difference between the Font and FontMe...
What are peerless components?
Which package has light weight components?
What is the difference between a Window and a Frame?
What is the difference between a Window and a Frame?
When can an object reference be cast to an interfa...
What is an object's lock and which object's have l...
What is the difference between a static and a non-...
Java Interview Questions - What is a protected met...
Java Interview Questions - What is a static method?
What is the difference between interface and abstr...
Java Interview Questions - What is an abstract met...
Java Interview Questions - What is the Locale class?
What is the purpose of the finally clause of a try...
What is the purpose of the System class?
What is the purpose of the Runtime class?
Java Interview Questions - What is the Properties ...
How can a subclass call a method or a constructor ...
Java Interview Questions - What is the SimpleTimeZ...
When is the ArithmeticException throwQuestion: Wha...
What is the difference between the Boolean & opera...
Is the numeric promotion available in other platform?
Java Interview Questions - What is the numeric pro...
Java Interview Questions - How many methods in Obj...
When should the method invokeLater()be used?
Java Interview Questions - What is the purpose of ...
Can an anonymous class be declared as implementing...
How can you write a loop indefinitely?
Java Interview Questions - What is a native method?
Name Component subclasses that support painting ?
What is the difference between preemptive scheduli...
Does garbage collection guarantee that a program w...
Java Interview Questions - What are wrapped classes?
What's the main difference between a Vector and an...
How many bits are used to represent Unicode, ASCII...
Java Interview Questions - What is an Iterator int...
If a method is declared as protected, where may th...
What modifiers may be used with an inner class tha...
Java Interview Questions - What is the Vector class?
What is the difference between Process and Thread?
What happens when a thread cannot acquire a lock o...
What is the difference between yielding and sleeping?
What are the high-level thread states?
What is the purpose of the wait(), notify(), and n...
What invokes a thread's run() method?
Does it matter in what order catch statements for ...
Can each Java object keep track of all the threads...
Can Java object be locked down for exclusive use b...
Java Interview Questions - How to create a thread ...
How does multi-threading take place on a computer ...
Java Interview Questions - What is multi-threading?
Java Interview Questions - What is thread?
What would you use to compare two String variables...
What's the difference between J2SDK 1.5 and J2SDK ...
Java Interview Questions - What is the preferred s...
What's new with the stop(), suspend() and resume()...
Java Interview Questions - Can a lock be acquired ...
What are three ways in which a thread can enter th...
What are synchronized methods and synchronized sta...
What is synchronization and why is it important?
Java Interview Questions - What do you understand ...
Name the containers which uses Border Layout as th...
What's the difference between an interface and an ...
How could Java classes direct program messages to ...
An application needs to load a library before it s...
What is NullPointerException and how to handle it?
What is more advisable to create a thread, by impl...
Jack developed a program by using a Map container ...
Java Interview Questions - Can you have virtual fu...
What does a well-written OO program look like?
Java Interview Questions - What is Java?
Java Interview Questions - How are Observer and Ob...
Which containers use a border layout as their defa...
Java Interview Questions - What is a transient var...
What is the difference between Serializalble and E...
Java Interview Questions - How many methods in the...
Java Interview Questions - How many methods in the...
If a class is located in a package, what do you ne...
Java Interview Questions - How to define an Interf...
Java Interview Questions - How to define an Abstra...
What is similarities/difference between an Abstrac...
Java Interview Questions - Is Iterator a Class or ...
Java Interview Questions - What is Collection API ?
Followers
Powered by
Blogger
.
What is a Container in a GUI?
Answer : A Container contains and arranges other components (including other containers) through the use of layout managers, which use sp...
What is polymorphism?
Answer : Polymorphism means "having many forms". It allows methods (may be variables) to be written that needn't be concer...
What is scalability and performance?
Answer : Performance is a measure of "how fast can you perform this task." and scalability describes how an application behave...
How the object oriented approach helps us keep complexity of software development under control?
Answer : We can discuss such issue from the following aspects: Objects allow procedures to be encapsulated with their data to reduce pot...
What is design by contract?
Answer : The design by contract specifies the obligations of a method to any other methods that may use its services and also theirs to ...
What is the benefit of subclass?
Answer : Generally: The sub class inherits all the public methods and the implementation. The sub class inherits all the protected methods...
What is Serialization and deserialization ?
Answer : Serialization is the process of writing the state of an object to a byte stream. Deserialization is the process of restoring thes...
How to add menushortcut to menu item?
Answer : If you have a button instance called about Button, you may add menu short cut by calling about Button. set Mnemonic('A'...
Java Interview Questions - Can you have virtual functions in Java?
Answer : Yes, all functions in Java are virtual by default. This is actually a pseudo trick question because the word "virtual" ...
Explain the usage of Java packages?
Answer : This is a way to organize files when a project consists of multiple modules. It also helps resolve naming conflicts when diffe...
About Me
Tollywood Actress
View my complete profile
Copyright ©
Interview Questions and answers
- Blogger Theme
by
BloggerThemes
&
freecsstemplates
- Sponsored by
Internet Entrepreneur
0 comments:
Post a Comment