Please enter your details here.
HTML uses
When you wish to read a collection of “Foo” via a RESTful API, which is most appropriate?
Which package includes StringTokenizer that tokenizes a string into independent words?
Which HTTP method should be used to update a resource in a RESTful Web Service?
Which of the following is a type of polymorphism in Java Programming?
Garbage collection in Java is
When you wish to delete an existing “Foo” via a RESTful API, which is most appropriate
What is the string contained in s after following lines of code? StringBuffer s new StringBuffer("Hello); s.deleteCharAt(0);
False statement about final method in java
Which of these method of class StringBuffer is used to reverse sequence of characters?
What happens if Restful resources are accessed by multiple clients?
What is garbage collection in the context of Java?
Which of the following is correct about web services?
What will be the output of the following Java code? class multithreaded_programing { public static void main(String args[]) { Thread t = Thread.currentThread(); t.setName("New Thread"); System.out.println(t); } }
Which statement is true?
What will be the output of the following code – import java.util.Iterator; import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; public class CopyOnWriteArraySetTest { public static void main (String args[]) { Set<String> copyOnWriteArraySet = new CopyOnWriteArraySet<String>(); copyOnWriteArraySet.add(” a “); copyOnWriteArraySet.add ( ” b” ); Iterator<String> iterator = copyOnWriteArraySet.iterator(); while(iterator.hasNext()) { copyOnWriteArraySet.add( ” c ” ); System.out.println(iterator.next()); }
Which header should be configured to tell the server XML is preferred over JSON?
Which statement is not true in java language?
object B: wait(2000); After calling this method, when will the thread A become a candidate to get another turn at the CPU?
Which option is not a RESTful API constraint?
What is the output of this program?
class Main
{
public static void main(String args[])
try
System.out.print("Hello" + " " + 1 / 0);
}
catch(ArithmeticException e)
System.out.print("World");
What will be the output of the following code snippet?
int a=15;
int b=25;
if ((a < b ) || ( a = 5)>15)
system.out.println(a);
else
system.out.println(b);
What is the output of the following program: public class testmeth { static int i = 1; public static void main(String args[]) { System.out.println(i+” , “); m(i); System.out.println(i); } public void m(int i) { i += 2; } }
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());
} }
Can we perform file handling in Java by Java I/O API?
TreeSet internally uses that one to store elements?