What is difference between core java and java ee?
No Answer is Posted For this Question
Be the First to Post Answer
What is style and indentation?
How do you declare an infinite loop?
What is consumer in java?
What is final class?
Difference between flush() and commit() in hibernate?
Which software is used for java programming?
Can list contain null in java?
How do you remove duplicates in java?
What is an object’s lock and which object’s have locks?
How does singleton class work?
What is the final method?
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(); } }