Which of these are instance variables of the class httpd?
Which of these is a process of converting a simple data type into a class?
What is the output of the following Java program?
Which of these methods are used to find a URL in the cache of an HTTP server (httpd)?
Which transfer protocol must be used so that a URL can be accessed by a URLConnection class object?
What is stored in the object 'obj' in the following Java code?
box obj;
class A
{
public static void main(String args[])
{
double a = 1 + 5;
double b = a / 4;
int c = 1 + 5;
int d = c / 4;
System.out.print(b + " " + d);
}
}
class jj
{
public static void main(String args[])
{
StringBuffer sb = new StringBuffer("Abekus");
sb.setCharAt(1,'y');
System.out.println(sb);
}
}
Serialization is the process of converting an object in to _______ , so that it can be transmitted over the network,or stored in a flat file and can be recreated later.
What will be the output of the following Java program?
public class Test {
public static void main(String[] args) {
int x = 0;
assert (x > 0);
System.out.println("finished");
}
}