Search:

Type: Posts; User: gautammuktsar@gmail.com

Search: Search took 0.30 seconds.

  1. Replies
    1
    Views
    48

    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...
  2. Replies
    0
    Views
    137

    servlet - ServletRequest

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

    Re: wait() and notify()

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

    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
  5. 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 );
    }
    } ...
  6. Replies
    1
    Views
    264

    Method to move cursor

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

    Polymorphism

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

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

    class ICICI extends Bank{
    int getRateOfInterest(){return 7;}
  8. Replies
    9
    Views
    182

    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);
  9. Replies
    9
    Views
    182

    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...
  10. Replies
    9
    Views
    182

    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 .
  11. Replies
    9
    Views
    182

    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...
  12. Replies
    9
    Views
    182

    Iterator

    what is iterator ??
    is it a interface or object ??
  13. Replies
    2
    Views
    169

    Interface

    Can a class be defined inside an Interface .



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

    static

    What happens to a static variable that is defined within a method of a class ?
  15. Replies
    2
    Views
    167

    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...
  16. [SOLVED] Re: Final method and static method

    thanks :)
  17. [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...
  18. Re: default method in Interface

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

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


    }
  20. Replies
    2
    Views
    247

    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{
  21. Replies
    1
    Views
    150

    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 21 of 21