What exactly is java?
No Answer is Posted For this Question
Be the First to Post Answer
What is a resource leak ?
Can you override private or static method in java?
Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target
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?
For class CFoo { }; what default methods will the compiler generate for you>?
How do you delete a list in java?
In collection sorting comparable and comparator interface will be used..but why this two interfaces required..two will work same purpose so why there are two interfaces instead of one?when to use comparator and when to use comparable?
How to access a method that it declared as protected?
What is the difference between menuitem and checkboxmenu item?
what is difference between perfom() & excute() ?
I was asked to draw the class diagram for the below scenario which should obey OOPS concept. A Portal is to be developed for a school , which has 3 main divisions viz , Education , Admin & Trust. Each division has 2 sub divisions Kinder Garden & Higer Secondary.
What is initial size of arraylist in java?