What is method in java ?
No Answer is Posted For this Question
Be the First to Post Answer
What does @override mean?
After compilation of java program we'll get .class code. If it's generated in OS Windows XP will it work on OS Linux? If yes why? If no why?
Explain wait(), notify() and notifyall() methods of object class ?
What is the abstract class?
What are init(), start() methods and whey they are called?
To set the position and size of a component, which methods are used?
Can long be null in java?
Do you know thread pools?
How do you sort data in java?
Ducking is automatic in checked exception?True or false
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(); } }
How do you escape a string?