Posts Tagged ‘Java’

All the Questions are user submitted. There is no guarantee that answers will be acurate. If you see any answers that are incorrect please use contact us form to send the correct answer or post a comment on the site. There are 100 questions and 303 comments in this e-book. Download Java Interview Questions Ebook [...]

Java 5 SCJP Questions

Posted: February 10, 2009 in FAQs, Interview Zone
Tags:

Interview Questions : Java 5 SCJP Questions 1. Given: enum Horse { PONY(10), // insert code here HORSE(15); Horse(int hands) { this.height = hands; this.weight = hands * 100; } int height; int weight; int getWeight() { return weight; } void setWeight(int w) { weight = w; } } class Stable { public static void [...]

Paper: Manhattan Associates Placement Paper (EJB, JSP, JAVA & SQL) EJB 1) What is true about ‘Primary Key class’ in Entity Beans ? (a) Used to identify the entity bean based on EJB type, Home Interface and Container Context. (b) Used to identify the entity bean based on EJB type, Remote Interface and Container Context. [...]