logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is difference between Path and Classpath?


  • Correct Answer
  • Path and Classpath are operating system level environment variales Path is used define where the system can find the executables(exe) files and classpath is used to specify the location class files 


  • Technology problems


    Search Results


    • 1. What are the restrictions when overriding a method ?
    • Discuss
    • 2. Can we compile a java program without main?
    • Discuss
    • 3. What is inheritance?
    • Discuss
    • 4. What is encapsulation?
    • Discuss
    • 5. What is the security mechanism used in java?
    • Discuss
    • 6. What is the impact of declaring a method as final?
    • Discuss
    • 7. What is static initializer block? What is its use?
    • Discuss
    • 8. How does a try statement determine which catch clause should be used to handle an exception?
    • Discuss
    • 9. What are the the different ways for creating a thread?
    • Discuss
    • 10. What is the difference between creating a thread by extending Thread class and by implementing Runnable interface? Which one should prefer?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment