I have written the following code for servlet in java. It is not compiling despite repeated attempts. and i can't figure out the cause of error. please help me!
import javax.servlet.http.*;...
Type: Posts; User: sgt98
I have written the following code for servlet in java. It is not compiling despite repeated attempts. and i can't figure out the cause of error. please help me!
import javax.servlet.http.*;...
I have searched on internet but did not find something useful. I do not want to use collections. please help me out!
here's what i have written
class ArrayDemo3
{
static void union(int x[],...
please help me coding the following pattern:
ABCDEFEDCBA
ABCDE EDCBA
ABCD DCBA
ABC CBA
AB BA
A A
public class q1
{
public static void JavaHungry(String s)
{
System.out.println("String");
}
public static void JavaHungry(Object o)
{
System.out.println("Object");
}
public class Java1
{
public static void main(String ar[])
{
short s=0;
int x=7;
int y=8;
int z=123456;
s+=z; //line 1
}
class Typecast
{
public static void main(String p[])
{
int m=45;
int y=23;
int h=m/y;
System.out.println(h);
I have seen this interview question on a site and executed it
code:
public class Main
{
public static void main(String l[])
{
String a,b;