When to use runnable interface vs thread class in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between the ">>" and " >>>" operators in java?
what is features of jdk 1.5?
2 Answers Accenture, Satyam, TCS,
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 can I become a good programmer?
How the threads are synchronized?
What are design patterns and please explain?
Is space a string in java?
What is command line used for?
What code optimizations techniques you follow in general practice?
2 Answers Accenture, TCS, Wipro,
What does three dots mean in java?
Explain the importance of throwable class and its methods?
write a simple program inheritance?