Search:

Type: Posts; User: prakash_13dec; Keyword(s):

Search: Search took 0.02 seconds.

  1. Answers
    10
    Views
    6,884

    Re: difference b/w Exception and Error

    Exceptions are usually the things when something is wrong with the code.
    Error is sth which is out of your control , and jvm usually crashes in case of Error so you can't continue the program .
  2. Re: difference b/w Unchecked and checked Exception

    Checked Exceptions are checked by the compiler during the compile time so if you have not handled (using try/catch or throws) the checked exception you wud not be able to complie the class....
  3. Re: How can validate the form fields with action path

    sorry can u explain what kind of fields need to be validated?
  4. Answers
    2
    Views
    2,376

    Re: numerous url-patterns...

    sorry i dint get the question, can u explain?
  5. Answers
    1
    Views
    3,049

    Re: Get Method in Hashmap

    it actually uses both hashCode and equals for find the keys.
  6. Answers
    5
    Views
    2,846

    Re: Can you tell me What is Data hidding

    you mean Data Encapsulation?
  7. Answers
    2
    Views
    3,314

    Re: weakHashMap

    This comes directly from the java api

    public class WeakHashMap
    extends AbstractMap
    implements Map
    A hashtable-based Map implementation with weak keys. An entry in a WeakHashMap will...
  8. Answers
    1
    Views
    1,386

    Re: Date range issue

    nearer to date itself?? and how much near?
  9. Answers
    1
    Views
    1,815

    Re: Help with Sorting with Comparator

    First of there seems to be a problem with this code:

    public int compare(Object CODE, Object Time) {
    if(CODE instanceof Summary & Time instanceof Summary)
    {
    Summary p1=(Summary)CODE;...
  10. Re: Prohibited multiple login for same user

    You can have a table for currently logged in users lets say CURRENT_USERS
    when ever a user logs in check against this table to see if he/she is there in that table , if not let the user log in...
  11. Answers
    1
    Views
    2,079

    Re: can anyone tell this...

    http: // www . mail . yahoo . com is the path where the server for yahoo is listening for requests ..
    htt: // www . yahoo . com/mail is a subfolder (logically) in that web application.
  12. Answers
    1
    Views
    1,361

    Re: Action class compile error

    have u imported the class containing the your Form class? or else is your Form in the class path?
  13. Thread: servlet

    by prakash_13dec
    Answers
    2
    Views
    1,893

    Re: servlet

    it should throw some exception i guess , as the init() method is called only once during the life cycle of a servlet.
  14. Answers
    1
    Views
    1,240

    Re: Calling init() after servlet

    the init() method has signature like public void init() throws ServletException

    it is usually called by init(ServletConfig sc) method
    so yes if u override init() it is still going to be...
  15. Re: Why we have to close connection, statement, prepared statement

    having connections open is like programmer sitting on beach(doing nothing) :) now wud that not be a waste of resource?
  16. Re: I am not able to get output after I create package

    what is the error/exception message?
  17. Answers
    2
    Views
    2,061

    Re: Find line that throws an exception

    when an exception is thrown print the stack trace and see which method actully cused the exception.
  18. Answers
    5
    Views
    5,065

    Re: null pointer exception

    well what i think is it should have been called NULLREFERENCEEXCEPTION instead of null pointer..
    whether Java supports or does not support can be answerd just by answered " Can u use pointers in...
  19. Answers
    2
    Views
    1,321

    Re: Instance of Object

    hmmm .. instances and objects are actully one and the same thing..
    and yeah they are created in the heap , how much size is allocated it doest matter as you cant' control it ..
  20. Answers
    2
    Views
    1,292

    Re: Inheriting constructors

    well , the subclass constructor has access to the superclass' constructor but subclass constructor can't override the superclasses constructor , so NO its not inherited.
  21. Answers
    7
    Views
    2,690

    Re: Abstract Class Situation

    okay well Lets' see ,,,
    if i ask you to create an Animal , (mind it i m asking an Animal not Dog ,Cat, Lion , Monkey , Cow , Goat ,Whale, Fish , cockroach or like) how wud to create an Animal??? ...
  22. Answers
    18
    Views
    14,023

    Re: when we use String and StringBuffer?

    the one basic difference between String and StringBuffer classes is that
    if you change the value of an object referred to by String it will create a new object (so u will end up with two String...
Results 1 to 22 of 22
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact