Airtel Postpaid Offer: Interview Questions and Answers On Java - 28th Sept 2013
Airtel Postpaid Offer: Interview Questions and Answers On Java - 28th Sept 2013
Todayznews.com View topic - Interview Questions and Answers On Java - 28th Sept 2013
Todayznews.com
Right Place For Information Skip to content
Search Search
Advanced search Board index Placement Book Interview Questions with best answers Change font size Print view FAQ Register Login
1 post Page 1 of 1
Over 40 Luxury Resorts in India & 4000+ RCI Affiliated Resorts Abroad
10/3/13
Todayznews.com View topic - Interview Questions and Answers On Java - 28th Sept 2013
The range of the short type is -(2^15) to 2^15 - 1. 48. What is the range of the char type? The range of the char type is 0 to 2^16 - 1. 49. In which package are most of the AWT events that support the event-delegation model defined? Most of the AWT-related events of the event-delegation model are defined in the java.awt.event package. The AWTEvent class is defined in the java.awt package. 50. What is the immediate superclass of Menu? MenuItem 51. What is the purpose of finalization? The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected. 52. Which class is the immediate superclass of the MenuComponent class. Object 53. What invokes a threads run() method? After a thread is started, via its start() method or that of the Thread class, the JVM invokes the threads run() method when the thread is initially executed. 54. What is the difference between the Boolean & operator and the && operator? If an expression involving the Boolean & operator is evaluated, both operands are evaluated. Then the & operator is applied to the operand. When an expression involving the && operator is evaluated, the first operand is evaluated. If the first operand returns a value of true then the second operand is evaluated. The && operator is then applied to the first and second operands. If the first operand evaluates to false, the evaluation of the second operand is skipped. 55. Name three subclasses of the Component class. Box.Filler, Button, Canvas, Checkbox, Choice, Container, Label, List, Scrollbar, or TextComponent 56. What is the GregorianCalendar class? The GregorianCalendar provides support for traditional Western calendars. 57. Which Container method is used to cause a container to be laid out and redisplayed? validate() 58. What is the purpose of the Runtime class? The purpose of the Runtime class is to provide access to the Java runtime system. 59. How many times may an objects finalize() method be invoked by the garbage collector? An objects finalize() method may only be invoked once by the garbage collector. 60. 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.
todayznews.com/viewtopic.php?f=14&t=263
2/3
10/3/13
Todayznews.com View topic - Interview Questions and Answers On Java - 28th Sept 2013
radhika Posts: 243 Joined: September 20th, 2013, 2:03 pm Top Post a reply 1 post Page 1 of 1 Return to Interview Questions with best answers Jump to:
Interview Questions with best answers Go
Who is online
Users browsing this forum: Google Feedfetcher and 40 guests Board index The team Delete all board cookies All times are UTC + 5:30 hours
todayznews.com/viewtopic.php?f=14&t=263
3/3