What is the different types of functions?
No Answer is Posted For this Question
Be the First to Post Answer
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?
Explain how to force the garbage collection in java.
What is the abstract class?
Can we override the main method?
Explain about features of local inner class?
whats the life cycle of jsp
How is hashset defined in java?
State the difference between creating string as new () and literal.
Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
If all the methods in abstract class are declared as abstract then what is difference between abstract class and in interface?
How do you write a scanner class in java?
What are thread local variables?