ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
 Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related       
Suggest New Category 
 


 

View Page with Answers
  Question  Asked @ Answers Views     select
 
what is use of session tracking ?with example? Photon  1  881
how to transactions(Bank transactions) in business process in ejb? Photon  1  526
what are the jsp tags with example? Photon  1  795
what is the life cycle of jsp? Photon  2  1061
what is the use of custom tags? with example? Photon  1  396
what is difference between String buffer and String builder? Benchmark  2  1276
y cant i declare method like public final static show()  2  622
can we create a instance for intwerface?  3  683
Diff between C++ and java? TCS   8  1138
What is the difference between jsp and servlet? Symphony  5  1475
What is the difference between java and .Net? Bosch  5  2034
what is bytecode ?explain in detail and watz the difference between bytecode and machine code? Lucent   3  1229
Which all r Final classes in java except string?  3  1321
What is Session reduplication and how its done?  0  70
can we create instance for interface in java?  2  1859
E-Mail New Answers        Answer Selected Questions        Post New Core Java Question
 
Prev    1   ... 7   ... 13    21   [22]    23  ... 31   ... 37   ... 43   ... 49   ... 55   ... 61   ... 67   ... 73   ... 79    Next
 
 
 Core Java interview questions   Core Java Interview Questions  Advanced Java interview questions   Advanced Java Interview Questions  Swing interview questions   Swing Interview Questions
 EJB interview questions   EJB Interview Questions  Servlets interview questions   Servlets Interview Questions  Struts interview questions   Struts Interview Questions
 JDBC interview questions   JDBC Interview Questions  JMS interview questions   JMS Interview Questions  SunOne interview questions   SunOne Interview Questions
 J2EE interview questions   J2EE Interview Questions  Weblogic interview questions   Weblogic Interview Questions  Websphere interview questions   Websphere Interview Questions
 Java Networking interview questions   Java Networking Interview Questions  Java J2EE AllOther interview questions   Java J2EE AllOther Interview Questions
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
whatis Home interface and Remoteinterface? with example? 74 Saksoft
what is the J2EE BluPrints? 128  
how to deploy tomcatserver to weblogic server? write d following steps? 74  
What is Applet Stub Interface ? 205  
What is Unicast and Multicast object? Where we will use? 171  
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an <applet> tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path. 151 TCS
My interview asked what is dynamic variable in java and where we use them. 27 IBM
What is stored procedure. How do you create stored procedure ? 70 GE
where the static methods will live ,on stack ? can you explain brefly 115  
how to handle exceptions in ejb? 88 HCL
What class is used to create Server side object? 69 TCS
Convert a binary search tree to a sorted doubly linked list inplace. 717 Amazon
What releases of Java technology are currently available? What do they contain? 116  
what is multi-tasking 24 Tech-Mahindra
Realized? 138  
Difference between a MenuItem and a CheckboxMenuItem? 199  
3.2 Consider the following class: public class Point { protected int x, y; public Point(int xx, int yy) { x = xx; y = yy; } public Point() { this(0, 0); } public int getx() { return x; } public int gety() { return y; } public String toString() { return "("+x+", "+y+")"; } } Say you wanted to define a rectangle class that stored its top left corner and its height and width as fields. 3.2.1 Why would it be wrong to make Rectangle inherit from Point (where in fact it would inherit the x and y coordinates for its top left corner and you could just add the height and width as additional fields)? (1) 8 Now consider the following skeleton of the Rectangle class: public class Rectangle { private Point topLeft; private int height, width; public Rectangle(Point tl, int h, int w) { topLeft = tl; height = h; width = w; } public Rectangle() { this(new Point(), 0, 0); } // methods come here } 3.2.2 Explain the no-argument constructor of the Rectangle class given above. 3.2.3 Write methods for the Rectangle class to do the following: • a toString() method that returns a string of the format "top left = (x, y); height = h; width = w " where x, y, h and w are the appropriate integer values. • an above() method that tests whether one rectangle is completely above another (i.e. all y values of the one rectangle are greater than all y values of the other). For example, with the following declarations Rectangle r1 = new Rectangle(); Rectangle r2 = new Rectangle(new Point(2,2), 1, 4); the expression r2.above(r1) should give true, and r2.above (r2) should give false. (You can assume that the height of a rectangle is never negative.) (2) (5) 27  
how to run ecllipse with jettyserver for windows environment using batch file 96  
how to handle exceptions in ejb? 62 Satyam
What are listeners in java and explain ? 193  
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com