How do you override a method in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is the purpose of garbage collection in java, and when is it used?
What does split function do in java?
what is difference between equals and ==?
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(); } }
Why is it called boolean?
what are the differences between final,finally,finalize methods?
Why is String immutable?
How does hashmap work in java ?
Can a class be a super class and a sub-class at the same time? Give example.
Why do we use string?
explain System.out.println()
How we can skip finally block of exception even if some exception occurs in the exception block in java?