Please enter your details here.
HTML uses
JDBC stands for?
What happens if Restful resources are accessed by multiple clients?
What does SDLC stands for?
Which HTTP method should be used to update a resource in a RESTful Web Service?
What will this code print? int arr[] = new int [5]; System.out.print(arr);
In java, “this” keyword is used to
What will be the output of the following program? public class Test { public static void main(String[] args) { int count = 1; while (count <= 15) { System.out.println(count % 2 == 1 ? "***" : "+++++"); ++count; } // end while } // end main }
Garbage collection in Java is
In which the access modifier means that the field can be accessed by all classes in your application?
What is garbage collection in the context of Java?
Which of the following option leads to the portability and security of Java?
Guess the output of below program. package org.arpit.java2blog; class A { void m1() { System.out.println("In m1 A"); } } class B extends A { void m1() { System.out.println("In m1 B"); } void m2() { System.out.println("In m2 B"); } } public class Test { public static void main(String[] args) { A a=new B(); a.m2(); } } What will be the output?
How would you configure a RESTful URL parameter that supports a search for a book based on its ID?
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);
HashSet internally uses?
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]""); } }
Which option is not a RESTful API constraint?
What must be enabled in order for a RESTful web service to receive invocations from different domains, subdomains or ports?
Which header should be configured to tell the server XML is preferred over JSON?
Which annotation is used to represent command line input and assigned to correct data type?
The insistence that RESTful APIs have URLs that identify resources in a consistent and predictable manner is known as:
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]); } }
What is byte code in the context of Java?