How to compare two strings in java program?
No Answer is Posted For this Question
Be the First to Post Answer
How many ways can we create the string object?
There are 100 keys and values in HashMap.how to get the keys and values?
Difference between canvas class & graphics class?
What are java packages?
What is the difference between static method and instance method in Java?
0 Answers SwanSoft Technologies,
What is the functionality of the stub?
Hi, well i am unable to understand that why it is mandatory to have same hashcode, if two objects are same? Thanks in advance.
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(); } }
What are the problems faced by java programmers who don't use layout managers?
What is thread life cycle in java?
Which package has light weight components in java programming?
can we access the super class method using subclass object?