Search:

Type: Posts; User: gautammuktsar@gmail.com

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    1,226

    main method

    One interviewer has asked me one question that why main() method has argument "String[] arg".What is reason behind this ??
    I am unable to explain it because i never think about it ......Please guys...
  2. Replies
    1
    Views
    1,396

    student database

    hi friends .. i am new to java ..not much command over java ..so i need some help from you guys
    I want to write a program for Student database using file.
    how should i proceed ??
  3. Replies
    1
    Views
    1,481

    date and time

    hi guys i m working on a project for my college..where i need to store the date in this format i.e dd/mm/yyyy and time in hh/mm separatly in Oracle database ...can you help me that you i get this...
  4. Replies
    0
    Views
    1,448

    servlet - ServletRequest

    hi guys i am new to J2EE . I am not getting that what is difference between the ServletRequest and HttpServletRequest ?
  5. Replies
    8
    Views
    4,875

    Re: wait() and notify()

    hi sir can you provide me a best site(url) for java Thread from which i gain more ..
  6. Replies
    8
    Views
    4,875

    wait() and notify()

    i m new to java ... i have read many aticles on net regarding wait() and notify() but unable to get ..can you please make me understand about these two method with example
  7. unable to understand that how control transfer in this program .

    public class SRDemo extends Thread {
    public void run() {
    try {
    for( int i = 0; i < 7; i++ ) {
    Thread.sleep(500);
    System.out.println( this.getName() + ": " + i );
    }
    } ...
  8. Replies
    2
    Views
    1,737

    Method to move cursor

    hey guys can you tell is there any method in java which works similar like function gotoxy() in c++.
  9. Replies
    1
    Views
    1,084

    Polymorphism

    class Bank{
    int getRateOfInterest(){return 0;}
    }

    class SBI extends Bank{
    int getRateOfInterest(){return 8;}
    }

    class ICICI extends Bank{
    int getRateOfInterest(){return 7;}
  10. Replies
    9
    Views
    1,077

    Re: Iterator

    import java.util.*;

    class CollectionEx{

    public static void main(String arg[]){
    Vector obj = new Vector();

    obj.add(new Integer(99));
    obj.add(new Integer(78));
    obj.add(66);
  11. Replies
    9
    Views
    1,077

    Re: Iterator

    then could be necessary for the class which implements the Iterator to provide defination for their all 3 methods ??...but while using Iterator to transverse the elements of collection(container) we...
  12. Replies
    9
    Views
    1,077

    Re: Iterator

    Well thank you . But one thing more in case of List interface ,class ArrayList is implementing List interface but my question is which class is implementing the Interface Iterator .
  13. Replies
    9
    Views
    1,077

    Re: Iterator

    i m new to java and as a matter of fact ,i m a bit confusing that how a interface contain whole methods..i have read that interface can contain only the defination of the method ..can you make me...
  14. Replies
    9
    Views
    1,077

    Iterator

    what is iterator ??
    is it a interface or object ??
  15. Replies
    2
    Views
    1,299

    Interface

    Can a class be defined inside an Interface .



    interface Inter{
    class x{
    public static void main(String[] args){
    System.out.println("Hello World!");
    }
    }
  16. Replies
    2
    Views
    1,037

    static

    What happens to a static variable that is defined within a method of a class ?
  17. Replies
    2
    Views
    1,133

    Run time error

    hey guys please answer these objective question which was asked by r teachers..i m unable to get it

    1. what is the reason for runtime error in java
    2. what r the 3 reasons for COMPILATION ERROR...
  18. [SOLVED] Re: Final method and static method

    thanks :)
  19. [SOLVED] Final method and static method

    My teacher has asked me one question that "What is difference between the final method and static method"..but i m unable to answer it properly..can you guys help me to answer it by the help of some...
  20. Re: default method in Interface

    got it .. these are features and conventions of the upcoming Java SE 8 ..
  21. default method in Interface

    interface I1{
    void show();
    void display();
    default void put(){
    System.out.println("I am from interface I1");
    }


    }
  22. Replies
    2
    Views
    1,125

    Interface

    hey guys i am not getting one point that where to use implements and where extends...

    please make me understand..



    interface I1{
    void greet();
    }
    interface I2{
  23. Replies
    1
    Views
    950

    Method println()

    hi i am new to java and i have not much knowledge about it..
    i m not getting the way by which println() is called ...means System.out.printl()...please explain what is "out" here..
Results 1 to 23 of 23