Why do we use predicate in java?
No Answer is Posted For this Question
Be the First to Post Answer
What are the two environment variables that must be set in order to run any java programs?
What is the final keyword denotes?
What is an iterator interface in java programming?
Why is singleton class used?
Do you know how to reverse string in java?
What is treemap in java?
Why do we create threads in java?
Can we declare a constructor as final?
what is mean by thread lock?
They had given one progam final HashMap hm=new HashMap(); public void show() { hm.put("name",value); } in this prg here the final hashtable value can be changed in put method,its the prg run?
abstract class Demo { public void show() { System.out.println("Hello I am In show method of Abstract class"); } } class Sample extends Demo { public void show() { super.show(); System.out.println("Hello I am In Sample "); } } public class Test { public static void main(String[] args) { //I WANT TO CALL THE METHOD OF BASE CLASS IT IS POSSIBLE OR NOT CAN WE USE SCOPE RESOLUTION OPERATOR TO CALL OR JAVA NOT SUPPORTED THAT :: OPERATORE } }
How use .contains in java?