Answer:
6.what is single inheritance.
ans:one class is inherited by only other one class
7.what is multiple inheritance.
ans:One class inheriting more than one class at atime
8.can java support multiple inheritance.
ans:No
9.what is interface.
ans:Interface has only method declarations but no defn
10.what is differenec between abstract class and interface.
ans:In abstract class some methods may contain definition but in interface every method should be abstract
12.what is differenece between string and stringbuffer.
ans:Strings are immutable where as string buffer can be modified
13.what is immutable
ans:Which cant be changed
.
19.what is main difference hashmap and hastable
ans:Hash table is synchronised
20.what is main difference between arraylist and vector.
ans:Vector is synchronised
21.what is struts framework.
ans:It follows MVC architecture which is used for seperating view controller model
24.what is main difference between jsp and servlets.
ans:Jsp s are mainly used for dynamic presenatations where we can write code of design and actual content seperately.mainly coding becomes feasible
25.what is difference between procedure and functions.'
ans:Fuctions can return value procedures cant return value
26.what is jdbc.
ans:Connecting to DB from java program requires JDBC
27.what are type of drivers.
type1 2 3 4
31.what is deployment descriptor.
ans:Which contains the infrnmation like which file to be used
40.what is platfrom independent
ans:A language is said to be platform independent if it can be run on any machine with out modifying code
41.what is awt and swing.
ans:AWT are heavy weight components and swings are light weight components
46.what is major concepts in oops.
ans:Abstraction polymorphism encapsulation inheritance
47.why u choose mvc-2 architecture.
ans:In MVC-2 controller is servlet rather than JSP which makes it efficient
48.what is implicit object.
ans:Implicit objects are a set of Java objects that the JSP Container makes available to developers in each page
49.how many implicit objects in jsp
ans:out page session request response application page context config