|| Published on :
Wednesday, May 13, 2015 || Views:
j2ee interview questions and answers for experienced j2ee interview questions pdf j2ee interview questions and answers for freshers pdf java j2ee interview questions and answers for experienced pdf
J2EE Technical Programming Interview Questions Part 4
Question 1.) How Application is differ from Applet?
Applications are Stand Alone and the doesn’t need web-browser.
Execution of Applications starts with main ().
Needs no explicit installation on local machine. Can be transferred through Internet on to the local machine and may run as part of web-browser.
Execution Applets starts with init () method and it must run within a GUI, it may be AWT / Swing.
Question 12.) What is CDC?
Ans: The Connected Device Configuration (CDC) is a specification for a J2ME configuration. Conceptually, CDC deals with devices with more memory and processing power than CLDC; it is for devices with an always-on network connection and a minimum of 2 MB of memory available for the Java system.
Question 13.) What is the MIDP?
Ans: The MIDP defines a set of APIs for mobile devices, such as cell phones and low-end PDAs
Ans: It is perfectly legal to assign a number to a variable and then assign a string to the same variable as follows
Example: i = 10;
i = “string”;
Question 15.) What does a well-written java program look like?
Ans: A well-written java program exhibits recurring structures that promote abstraction, flexibility, modularity and elegance.