Java Related Interview Questions
Questions Answers Views Company eMail

What is garbage collection in Java, and how can it be used ?

Infosys, HCL, Accenture, Wipro, Sara, SITS,

32 53588

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 6655

Differentiate constructor and a method and how are it be used?

Wipro,

6 7185




What is an abstract class?

Wipro,

7 6060

How can final class be used?

Wipro, Accenture,

5 7905

By what default value is an object reference declared as an instance variable?

Wipro,

1 9207

Java support what type of parameter passing ?

Wipro,

7 10536

Explain the term serialization?

Wipro,

10 8381

Is there is any error if you have multiple main methods in the same class?

Wipro,

10 9683

What is Overriding and how can it be used?

Consagous, Wipro,

7 12413

How is serialization used generally ?

3 3721

How are Swing and AWT be differentiated?

Wipro,

3 5220

Explain pass by reference and pass by value?

IBM, Wipro,

8 10420

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 6644

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

21 31556







Un-Answered Questions { Java Related }

make a method which any number and any type of argument and print sum of that arguments.....

526


How data can be inserted into long row column of database?

954


how to open and edit XML file in Weblogic???

746


How to determine, that beans are TX or not?

826


Hello Everyone.. I m trying to develop a java swing application where i can display a doc file Jeditorpane or Jtextpane.

885


What are the steps to write p-to-p model application?

1119


In a barber shop there are 2 doors. customer come in 1 door, leave in other. minimum # of chairs. barber spend his life in cutting. always barber can cut 1 customer. few chairs in the shop. if barber busy customer waits, if chairs full, customer leave. if no customer, barber sleeps. treat barber and customer as 2 threads. you can use Semaphore class with arrive and depart and count as parameter.

907


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.

5439


what is meant by proxy server

2985


How database connectivity in XML is achieved?

931


what is difference betweem home interface and remote interface?

1293


How to migrate the weblogic domains Existing physical box to New box ? Assume:I have 2 Domains and 5 ms servers and i have deploy the application in managed servers in cluster Envirolment how to migrated? any budy give me steps ?

562


what are getters and setters in Java with examples?

435


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

673


1.can i use super keyword in normal class(not inheritance) to call any method?if so how can i call particular variable? 2.In the inheritance how can i access the particular variable from the base class(it containing 5 variables) using super keyword?

885