-
-
Dynamic Object Creation
Why do we dynamic creation of object in Java?
-
Implement ArrayList
How do you implement ArrayList without using Collections in Java?
-
Java Program to Count Number of Files
50,000 HTML files are in a folder on a windows machine. Among them, content of some files(not the file names) contain the sentence "SocioMaC-Jus' Follow!". Write a Java program to count the number of such files.
-
-
Can a double value be cast to a byte
Yes, a double value can be cast to a byte.
-
Sort an Integer Array
How to sort an integer array and remove duplicates without using java API
-
-
Method Binding
What is method binding?
-
Difference between Throw & Throws
1)What is the difference between Throw & Throws?2)Explain the use of transient variable with example?
-
Thread.Suspend and Thread.resume
Why Thread.Suspend and Thread.resume methods are deprecated?
-
JSP jspinit() method
Will you be able to override jspinit() methods? Justify
-
Checked and Unchecked Exception
When should we use a checked exception and when should we use an unchecked exception?
-
Conversion of WSDL to Java and Java to WSDL
How to convert WSDL to Java code and Java code to WSDL?
-
Abstract Interface
What is mean by Abstract Interface?
-
-
Struts Advantage
What is the advantage of using struts?
-
Can HashMap store null values?If yes, how many?
Can HashMap store null values?If yes, how many?What is singleton class? Give one example.Please describe the difference between 'int' and 'Integer',what is the purpose of 'Integer', where should we use 'Integer' vs 'int'?
-
-
Singleton Pattern
Is it possible to have another instance in the case we are applying Singleton pattern? If yes, how?
Java Interview Questions
Ans