Answered Questions

  • What is meant by Pre-emptive scheduling?

    Thomas John

    • Sep 22nd, 2015

    Tasks are usually assigned with priorities. At times it is necessary to run a certain task that has a higher priority before another task although it is running. Therefore, the running task is interru...

    jawaharl0207

    • Oct 26th, 2009

    Fixed priority pre-emptive scheduling is a scheduling system commonly used in real-time systems. With fixed priority pre-emptive scheduling, the scheduler ensures that at any given time, the processor executes the highest priority task of all those tasks that are currently ready to execute.

  • what is HashCode in Java

    Abhisek

    • Dec 23rd, 2014

    Hashcode is nothing but Index of the Address of the Object. Hashcode is integer value.which would be automatically generated by JVM. whenever an object is created & address is generated,JVM pick up o...

    Michael Wu

    • Oct 4th, 2011

    Originally hash code is translate memory address to int. I want to propose a question why java designed a hashcode? It is just for distinguish two object?

  • What value does readLine() return when it has reached the end of a file

    The readLine() method returns null when it has reached the end of a file.

    Hanuman Sai

    • Sep 21st, 2015

    When readLine tries to read beyond the end of a text file it returns the special value null so you can test for null to stop processing a text file read returns -1 when it tries to read beyond the en...