0% found this document useful (0 votes)
37 views3 pages

Airtel Postpaid Offer: Interview Questions and Answers On Java - 28th Sept 2013

The document discusses 60 interview questions and answers related to Java programming. It provides the questions on topics like anonymous classes, data types ranges, AWT packages, exceptions, and more. Each question is followed by a brief answer. The questions serve as a guide for interview preparation.

Uploaded by

Vigya Jindal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views3 pages

Airtel Postpaid Offer: Interview Questions and Answers On Java - 28th Sept 2013

The document discusses 60 interview questions and answers related to Java programming. It provides the questions on topics like anonymous classes, data types ranges, AWT packages, exceptions, and more. Each question is followed by a brief answer. The questions serve as a guide for interview preparation.

Uploaded by

Vigya Jindal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

10/3/13

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

airtel postpaid offer


shop.airtel.com/postpaid

Get unlimited internet on your new 3g connection. Register today!

Interview Questions and Answers On Java - 28th Sept 2013


Post a reply
Search this topic Search

1 post Page 1 of 1

Club Mahindra Holidays


ClubMahindra.com/Become_A_Member

Over 40 Luxury Resorts in India & 4000+ RCI Affiliated Resorts Abroad

>Interview Questions and Answers On Java - 28th Sept 2013


by radhika October 1st, 2013, 2:04 pm 46. Can an anonymous class be declared as implementing an interface and extending a class? An anonymous class may implement an interface or extend a superclass, but may not be declared to do both. 47. What is the range of the short type?
todayznews.com/viewtopic.php?f=14&t=263 1/3

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

Franklin U.S. Opps Fund


www.franklintempletonmutualfund.in

Your Window To Investing In US Equities. Know More Now!

todayznews.com/viewtopic.php?f=14&t=263

3/3

You might also like