Search:

Type: Posts; User: sgt98

Search: Search took 0.23 seconds.

  1. Servlet not compiling-And i don't even have a hint, why?

    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.*;...
  2. please tell me the code of union and intersection of two arrays without using collections

    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[],...
  3. Replies
    2
    Views
    94

    please help me code this pattern!

    please help me coding the following pattern:


    ABCDEFEDCBA
    ABCDE EDCBA
    ABCD DCBA
    ABC CBA
    AB BA
    A A
  4. Please describe the output of the following program!

    public class q1
    {
    public static void JavaHungry(String s)
    {
    System.out.println("String");
    }
    public static void JavaHungry(Object o)
    {
    System.out.println("Object");
    }
  5. Replies
    3
    Views
    108

    please answer my question.

    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
    }
  6. Please describe the output of the following program!

    class Typecast
    {
    public static void main(String p[])
    {

    int m=45;
    int y=23;

    int h=m/y;
    System.out.println(h);
  7. Please describe the output of the following program!

    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;
Results 1 to 7 of 7