Define composition?

Composition - has-a relationship between objects. Composing object holds a reference to composing classes and hence relationship is loosely bound. Used in Dependency Injection. Single...

solved
jdbc, servlet, android, java 2 Answer 89 views asked Jun 30, 2016 in Java by Srinu

What are cookies?

Cookies are small key-value pairs, which can be added to HTTP headers (both by client and server). Browser normally keeps them as text files on user's device (any device PC, mobiles, tablet etc) and...

solved
java, jdbc, android, servlet 2 Answer 80 views asked Jun 30, 2016 in Java by Gangadhar

Explain garbage collection in Java?

The garbage collector is a program which runs on the Java Virtual Machine which gets rid of objects which are not being used by a Java application anymore. It is a form of automatic memory...

solved
java, jdbc, android 2 Answer 94 views asked Jun 30, 2016 in Java by Nagendra

What are servlets filters?

Servlet Filters are Java classes that can be used in Servlet Programming for the following purposes:To intercept requests from a client before they access a resource at back end.To manipulate...

solved
java, android, jdbc, servlet 2 Answer 72 views asked Jun 30, 2016 in Java by RajaSekhar

What is drawable folder in android?

By default Android maintain three folders for the images with different resolution reason behind it is the use or the resolution of the Android Device on which the application gonna execute. hdpi...

solved
java, android, jdbc 2 Answer 192 views asked Jun 30, 2016 in Android by Surya

Define Packages in Java?

Java Package:A package is a namespace that organizes a set of related classes and interfaces. Conceptually you can think of packages as being similar to different folders on your computer. You might...

solved
java, jdbc, android, servlet 3 Answer 83 views asked Jun 30, 2016 in Java by UdayKiran

What is sleep mode in android?

You can never really be sure if the device has gone to sleep. At best, I can give you a list of things that would make sure that the device hasn't gone to sleep:Screen being on - Requires CPU and...

solved
java, android, jdbc 3 Answer 83 views asked Jun 29, 2016 in Android by Jayanth

What is fragment in android?

A fragment represents a behavior or a portion of user interface in an Activity.It must always be embedded in an activity and the fragment's lifecycle is directly affected by the host...

solved
java, android, jdbc 2 Answer 169 views asked Jun 29, 2016 in Android by D. Charan