Please enter your details here.
Which package includes StringTokenizer that tokenizes a string into independent words?
Which of these method of class StringBuffer is used to reverse sequence of characters?
Compiler converts
In java multi-threading, a thread can be created by
What is the string contained in s after following lines of code? StringBuffer s new StringBuffer("Hello); s.deleteCharAt(0);
What does SDLC stands for?
When you wish to delete an existing “Foo” via a RESTful API, which is most appropriate
Give the Output for the following program? class Char { public static void main(String args[]) { char ch1, ch2; ch1 = 88; // code for X ch2 = 'Y'; System.out.print("ch1 and ch2: "); System.out.println(ch1 + " " + ch2); } }
Which specification that provides runtime environment in which java byte code can be executed?
What is the name of the thread in output in the following Java program? class multithreaded_programing { public static void main(String args[]) { Thread t = Thread.currentThread(); System.out.println(t.isAlive()); } }
Which of the following is not true?
What is the significance of using instanceOf operator and getClass() in equals method?
What will be the output of the following Java program? class abc { public static void main(String args[]) { if(args.length>0) System.out.println(args.length); } }
What is the output for the following code, when you passed letsfindcourse at run time? class CommandLineExample{ public static void main(String args[]){ System.out.println(""Your first argument is: ""+args[0]); } }
Can we perform file handling in Java by Java I/O API?
Which of the following best describes REST?
What will be the output of the following code – import java.util.Iterator; import java.util.Map; import java.util.concurrent.ConcurrentSkipListMap;
public class ConcurrentSkipMapTest {
public static void main (String args[]) { Map<Integer,String> concurrentSkipListMap= new ConcurrentSkipListMap<Integer,String>(); concurrentSkipListMap.put(11,”audi”); concurrentSkipListMap.put(44,”null”);
Iterator<Integer> keyIterator = concurrentSkipListMap.keySet().iterator(); while (keyIterator.hasNext()) { System.out.print(keyIterator.next());
} }
}
What is the valid data type for variable "a" to print "Hello World"? switch(a) { System.out.println("Hello World"); }
The ability to invoke a RESTful method multiple times without changing the state of the server on subsequent invocations is known as:
TreeSet internally uses that one to store elements?
Which function of pre defined class Thread is used to check weather current thread being checked is still running?
What will be the output of the following Java program, Command line exceution is done as – “java Output This is a command Line”? class Output { public static void main(String args[]) { System.out.print(""args[3]""); } }
How would you configure a RESTful URL parameter that supports a search for a book based on its ID?