How would overload a function based on return type?
No Answer is Posted For this Question
Be the First to Post Answer
What is meant by nested loop?
What are the parameters used in Connection pooling?
What is user defined exception?
What is a stringbuilder?
Can a lock be acquired on a class?
What are desktop procedures?
can any one tell me when do u go for inheritance and polymorphism
What is class??
What is the difference between interpreter and compiling ?
What is the difference between this() and super() in java?
What does this() represent, and how is it used in Java?
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(); } }