Core Java Interview Questions and Answers

Core Java Questions and Answers:

1 :: Explain about the select method with an example?

Select part is useful in selecting text or part of the text. Arguments specified for the select command are the same as applicable to substring. First index is usually represents the start of the index. End of line makers are counted as one character. Example t.select (10,15)
5/5 Rating (1 vote)
Is This Answer Correct?    4 Yes 1 No
Place Your Answer

2 :: Explain about inheritance hierarchies?

An inheritance hierarchy has a collection of all classes which fall under the main class. Inheritance chain defines the path from where all the sub classes originated and their relation ship. Controller normally handles user input. Inheritance hierarchy is very important in software modeling.
4/5 Rating (1 vote)
Is This Answer Correct?    5 Yes 1 No
Place Your Answer

3 :: Explain the reason behind ending a program with a System.exit (0)?

The reason behind ending a program with System.exit (0) involves technicalities. When main method exits the new thread automatically does not end. The appearance of this thread is because of dialog box functionality. System.exit ends all the methods.
0/5 Rating (0 vote)
Is This Answer Correct?    3 Yes 1 No
Place Your Answer

4 :: Explain about strings in Java?

Strings represent nothing but a string of characters. Java does not have any built in string type. It contains predefined class which can be called enough as a String. Instance of a string is called as a string. Much similar to many object oriented languages a + sign is used.
0/5 Rating (0 vote)
Is This Answer Correct?    1 Yes 2 No
Place Your Answer

5 :: Give the difference between the println method and sqrt method?

Println method operates on the object system.out and has the value which should be printed namely y. sqrt method is a static method. It does not operate on any object. It has the number stored in x for which the square toot should be found out.
0/5 Rating (0 vote)
Is This Answer Correct?    2 Yes 1 No
Place Your Answer

Rate This Category:
4/5 Rating (1 vote)
Place Your Question



Top: Core Java Interview Questions and Answers
Core Java Interview Questions and Answers

Top Frequently Asked Core Java Question
Frequently Asked Core Java Job Interview Question


Top Frequently opened Java Programing Job Interview categories
Most popular Java Programing Job Interview categories

Comments About Core Java Interview Questions and Answers

Share your valuable opinions, ideas and suggestions about Core Java Interview Questions and Answers
While placing your comment your email address is required but won't be published any where else; Personal information will be kept confidential; we do not sell or release our respective visitors private information.
  1. Webmaster 20th of May 2012

    Webmaster Said

    Tell us what you feel about Core Java Interview Questions and Answers
    All comments will be published after review. No login or registration is required to post a comment on Core Java Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
    So start sharing your thoughts regarding Core Java Interview Questions and Answers
    Thank you.

Leave a Comment

Leave a Comment
  1.  Enter This Verification Code  Regenerate Verification Code  



Your reply will be added to the comment above (Below any other replies to this comment) -

Top Comments About: Core Java Interview Questions and Answers
Comments on Core Java Interview Questions and Answers

 
Top of Link batk to Core Java Interview Questions and Answers
Link batk to Core Java Interview Questions and Answers