What is static keyword in java?
No Answer is Posted For this Question
Be the First to Post Answer
What are wrapper classes?
Explain exception chaining in java?
If a class is declared without any access modifiers, where can the class be accessed?
How can you read content from file in java?
suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?
What is a default constraint?
Marker interface means , interface which has no methods.Then what is the necessity of its usage.I read "it tells the compiler that it should be treated differently ". "It is used to store state of an object". But still am not clear.Please explain clearly.
What is an example of a keyword?
What is a protected class in java?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
Explain the purpose of garbage collection in Java?
Q) I have a ArrayList object, in that object i have added 5 integer values, 5 float values, 5 string values. Now question is how can delete particular type of data ( i.e all int values or all float values or string values) in that list object at a time?