-
-
-
-
-
Inheritance and Aggregation
What is the difference between inheritance and aggregation? When would you use one over the other
-
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'?
-
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.
-
Class Path
Why should we set class path and path environment variables while installing J2SE and why not while Turbo C?
-
Double Value
What happens when you add a double value to a String?
-
Java Collection
What is the default capacity and load factor in Java Collection? Explain its role.
-
Interface and Abstract Class Usage
When will you use an interface and abstract class?
-
Write a program that prompts the user to input three numbers.
The program should then output numbers in ascending order.
-
Compareto and equals method
Difference between CompareTo and equals method.
-
JUnit
What is JUnit and how it is used?
-
Java - How to convert string to charArray ?
String str="Welcome To GeekInterview.com"
How can convert the above string to charArray without using any buit-in function in java?
Anyone to know the answer.please help me? i am new to learn java.Without main Method
How can we use method without using main method in JAVA?
What is the List interface
The List interface provides support for ordered collections of objects.
How does Java handle integer overflows and underflows
It uses those low order bytes of the result that can fit into the size of the type allowed bythe operation.
What is the difference between the >> and >>> operators
The >> operator carries the sign bit when shifting right. The >>> zero-fills bits that havebeen shifted out.
What is the range of the char type
The range of the char type is 0 to 2^16 - 1.
Ans