-
Java Collection
What is the default capacity and load factor in Java Collection? Explain its role.
-
Nested and Inner Classes
What is the need of nested and inner classes in Java? Explain where they are useful?
-
-
Argument Constructor
What is "no argument constructor " in Java?
-
-
-
-
-
-
-
-
Equals() and hashCode()
Why should we implement equals() and hashCode() while using hastable?
-
-
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.
-
-
Difference between Throw & Throws
1)What is the difference between Throw & Throws?2)Explain the use of transient variable with example?
-
JSP jspinit() method
Will you be able to override jspinit() methods? Justify
Java Interview Questions
Ans