What is garbage collection in Java, and how can it be used ?32 56337
What happens when a main method is declared as private?22 35541
What is UNICODE?3 4296
Can you give names of Container classes?
when to use ArrayList and when to use HashMap in webApplication.
explain the concept of virtual method invocation in polymorphism in detail?
Can we call virtual funciton in a constructor ?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
Highest level event class of the event-delegation model?
Where will it be used?
What is the java project architecture?
how can i use a nonsynchronized hashtable?
can any body body expalin best definitions & best real time exaples for opps concepts.
What are invisible components?.
Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)
If goto and const is reserve words than why it is not work in java?
Tell me about your ability to work under pressure