Can we sort list in java?


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

Post New Answer

More Core Java Interview Questions

What is temp in java?

0 Answers  


Can private class be extended java?

0 Answers  


Why stringbuilder is not thread safe?

0 Answers  


Why Java doesn’t support multiple inheritance?

0 Answers  


What are the advantages of functions?

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  


Is a boolean variable?

0 Answers  


class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....

4 Answers   Quinnox,


In java, what is the difference between method overloading and method overriding?

0 Answers  


In java how do we copy objects?

0 Answers  


What does arrays sort do in java?

0 Answers  


What are the advantages of inner classes?

0 Answers  


Categories