JAVA
View Answers
August 29, 2009 at 4:08 PM
Hi Friend,
1)Layout Manager-It is an interface that determines the size and position of the component within the container using the following classes:
* BorderLayout
* BoxLayout
* CardLayout
* FlowLayout
* GridBagLayout
* GridLayout
* GroupLayout
* SpringLayout
2)Dynamic Method Dispatch-It is a technique which can be used to execute the overridden method at runtime or you can say that it is the process through which Java Runtime system determines which method implementation is to call in an inheritance hierarchy.
3)Thread Synchronization-Threads commonly share the same memory space area, hence they can share the resources. Threads commonly communicate by sharing access to fields and the objects reference fields refer to.But this communication results to some errors like thread interference and memory consistency errors. The synchronization tool avoid this problem by allowing one thread to access the shared resources at a time to make the program thread safe.
4)Abstract Class-An Abstract class is similar to an interface in some aspects. It cannot be instantiated but it can be extended.it may or may not include abstract methods.Any class that extends the abstract class has to provide the implementation to the abstract methods. Hence these classes can be used as a skeleton to similar classes where some common functionality may be required. Such functionality can also be embedded into these classes.
5)Method Overriding-when a method in a subclass has the same name and type signature as a method in its superclass, then the method in the subclass is said to override the method in the superclass.This is said to be Method Overriding.
6)Throws keyword-When we know that a particular exception may be thrown or to pass a possible exception then we use throws keyword. Here the Java compiler knows about the exceptions thrown by some methods so it insists us to handle them. It takes the arguments as a list of the objects of type java.lang.Throwable class.When we use the throws keyword with a method it is known as ducking.
7)String Class- The String class represents character strings. All string literals in Java programs are implemented as instances of this class. The String class provides methods for examining individual characters of the sequence, comparing strings, searching strings, extracting substring, copy the string,changing the case of string like uppercase to lowercase and lowercase to uppercase,replacing the string,concatenating the string etc.Strings are constant and their values cannot be changed after they are created.
8)Static Members-The static members can be accessed before any objects of its class are created, and without reference to any object.A static variable is shared by all the instances of that class. A static method cannot access non-static/instance variables, because a static method is never associated with any instance.A static method can access all the static data.
9)Byte Code-Byte codes are the machine language of the Java virtual machine. When a JVM loads a class file, it gets one stream of byte codes for each method in the class. The byte codes streams are stored in the method area of the JVM. The byte codes for a method are executed when that method is invoked during the course of running the program. They can be executed by intepretation, just-in-time compiling, or any other technique that was chosen by the designer of a particular JVM.
Thanks
Related Tutorials/Questions & Answers:
javajava diff bt core
java and
java Advertisements
java java why iterator in
java if we for loop
Java Java Whether
Java is pure object oriented Language
JAVAJAVA how the name came for
java language as "
JAVA javajava explain technologies are used in
java now days and structure
java javajava different between
java & core
java javajava is
java open source
javajava what is
java reflection
java java in
java does not pointers concept but what is nullpointers in
java?
nullpointer is a runtime Exception
javawhat is the size of array in
java ? what is the size of array in
java ?
what is the mean of finalize in
java javajava why to set classpath in
java javajava RARP implementation using
java socket
javajava sample code for RARP using
java JavaJava how to do
java in command prompt
javajava how use
java method
javajava is
java purely object oriented language
javajava why multiple inheritance is not possible in
java javajava give a simple example for inheritance in
java javajava give a simple example for inheritance in
java javajava why to set classpath in
java javajava why to set classpath in
java javajava why to set classpath in
java java java What is ?static? keyword
javajava Does
java allows multiline comments
javajava Write a
java code to print "ABABBABCABABBA
javajava write a program in
java to acess the email
javajava send me
java interview questions
javajava what are
JAVA applications development tools
JavaJava Whether
Java is Programming Language or it is SOftware
javajava explain object oriented concept in
java java java difference between class and interface
JavaJava how to draw class diagrams in
java javajava write a
java program using filenotfoundexception
javajava how to edit text document by using
java
then how to edit starting and ending of text document by using
java javajava different between
java & core
java
print("code sample
java java how can use sleep in
java
which book learn of
java language
java java How to set
java Policy for applet using jdk 6
javajava pattern code for a given words
java pattern code for a given words pattern
javajava dear,
i want a field for date picker using
java/
java script
javajava create
java program for delete and update the details,without using database, just a normal
java program
javajava why methods in
java raise exceptions
Have a look at the following link:
Java Exceptions
javajava code to search the nodes how to write the
java code to search the nodes using routers
javajava online telephone directory i need coding for online telephone directory..by using
java....pls help me
javajava different between
java & core
java
print("code sample
javajava how to invoke one chart
java file from another
java file
javajava how to prepare the
java
Hi Friend,
If you want to learn how to install
java, creating and running a
java program then go through the following links:
http://www.roseindia.net/
java/beginners/index.shtml
http
javajava
java swing
Swing is a principal GUI toolkit for the
Java programming language. It is a part of the JFC (
Java Foundation Classes), which is an API for providing a graphical user interface for
Java programs
javajava what is the need of
java if
java is not there what will happen... work unless you have
Java installed, and more are created every day.
Java... to scientific supercomputers, cell phones to the Internet,
Java is everywhere!
http