Interview questions
JAVA interview questions – page 4
2,804 questions. Tap “Show answer” to check yourself.
-
In client-server approach, how to get an IP address of remote machine, and how we can find whether tht machine is connectedwith server or not. I hv found one solution is pinging in background, but how we can do such pinging? how can we find out tht we r g
-
Tell me some interfaces which are generally used in our j2ee application? (pls give me some list of interfaces in java and j2ee)
-
Difference ? Java, C++
-
What happens if i do this=null?2)how to swap 2 variables without using third temp variable in java?3)constructors can not be inherited,why?
-
Why is Java platform independent?
-
Difference between hashmap and hashset?
-
While developing one in JSP page we are sending request to Struts frame work.If we click two times submit button then First time only it should accept request and second time should reject that request in struts frame
-
Differentiate between Complier and Interpreter? Examples of compiled and interpreted languages? what about Java?
-
How do you load an image in a Servelet?
-
What are Scope Variables
-
The cause of failing to load the appropriate JDBC drivers before calling the getConnection method, or it specifying an invalid JDBC URL--one that isn't recognized by your JDBC driver can result in the error __________________ during a call to the Driv
-
I have to view(in a JSP Page)the rows in adatabase which contains some thousands of rows.But in a page i have to view only 20 rows and by pressing the hyperlinks in the page(for an example :page1, page2)i have to view the rest of the records.Each page s
-
What is serialization? way of serialization
-
What do you know about garbage collectot?
-
What do u mean by "method" in java ?
-
In servlets, we are having a web page that is invoking servlets username and password. which is cheks in the database, Suppose the second page also. If we want to verify the same information whether it will connect to the database or it will be used previ
-
What kind of bean(entity/session) will you use if there are no database transactions and all you use is a read-only database.
-
Diff between Application and Applet?
-
How do I receive a ResultSet from a stored procedure?
-
What are Servelets?
-
Differences between C++ and Java
-
My quetion is about the protected class. it have one super and sub class example ,below example i read from one pdf.package certification;public class Parent {protected int x = 9; // protected access}----------------------------package other;import certif
-
Where is JNDI located (In client or server).If its server, how a client can get the information about whichEJB is registered in JNDI ?.How EJB will be registered in JNDI.
-
How to create the object to the anonomous class
-
Why we are not keeping Ejb class file in war
-
Can I stop JSP execution while in the midst of processing a request?
-
What is JSP scriptlet ?
-
What is JavaServer Faces event and listener model ?
-
What is Java Server Faces expression language ?
-
What is JSP custom action ?