What is the different types of functions?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

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?

3 Answers   Aricent,


Explain how to force the garbage collection in java.

0 Answers  


What is the abstract class?

0 Answers  


Can we override the main method?

4 Answers  


Explain about features of local inner class?

0 Answers  






whats the life cycle of jsp

15 Answers   Satyam,


How is hashset defined in java?

0 Answers  


State the difference between creating string as new () and literal.

0 Answers  


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(); } }

3 Answers  


If all the methods in abstract class are declared as abstract then what is difference between abstract class and in interface?

8 Answers   Infosys, Synechron,


How do you write a scanner class in java?

0 Answers  


What are thread local variables?

0 Answers  


Categories