CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies

Search Interview Questions

Question: IBM Interview Questions in Bangalore

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


11.how to u prove that abstrace class cannot instantiate directly.

ans:As they dont have constructor they cant be instantiated


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





Category Java Interview Questions & Answers - Exam Mode / Learning Mode
Rating (4.0) By 84 users
Added on 7/17/2011
Views 2745
Rate it!
Question: IBM Interview Questions in Bangalore


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


11.how to u prove that abstrace class cannot instantiate directly.

ans:As they dont have constructor they cant be instantiated


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



Source: CoolInterview.com


implicit objects in jsp
out,request,response,session,
applicaton,config,page,pageContext
exception Source: CoolInterview.com

Answered by: sadaqat khan | Date: 6/28/2010 | Contact sadaqat khan Contact sadaqat khan


If you have the better answer, then send it to us. We will display your answer after the approval

Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.

Post your answer here

Inform me about updated answers to this question.
Related Questions
View Answer
Explain the importance of "static"keyword




- Java Interview Questions & Answers" class="btn btn-primary btn-xs">View Answer
Whether a Class,Method can be garbage collected or not?How?

View Answer
Whether private,protected method can be overloaded,overrided or not?Tell me reason?

View Answer
Why ArrayList is faster than Vector?

View Answer
Meaning - Abstract classes, abstract methods


View Answer
Difference ? Java, C++


View Answer
Explain Java security model


View Answer
Explain working of Java Virtual Machine(JVM).


View Answer
Difference: Java Beans, Servlets


View Answer
Difference: AWT, Swing


View Answer
Disadvantages of Java


View Answer
What is BYTE Code?


View Answer
What gives java it's "write once and run anywhere" nature?




- Java Interview Questions & Answers" class="btn btn-primary btn-xs">View Answer
What is the meaning of "final" keyword?




- Java Interview Questions & Answers" class="btn btn-primary btn-xs">View Answer
Can I create final executable from Java?


View Answer
Explain Garbage collection mechanism in Java


View Answer
Why Java is not 100% pure object oriented language?


View Answer
What are interfaces? or How to support multiple inheritance in Java?


View Answer
How to use C++ code in Java Program?


View Answer
Difference between "APPLET" and "APPLICATION"




- Java Interview Questions & Answers" class="btn btn-primary btn-xs">View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View All Java Interview Questions & Answers - Exam Mode / Learning Mode




India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.015625 Seconds