Search:

Type: Posts; User: me_shankara

Search: Search took 0.17 seconds.

  1. Is it possible to acceessdifferent parts of class by different threads?

    Hi !my doubts are based on below programme.
    ------------------------------------------------------------------

    class C implements Runnable
    {
    public void f1()
    {
    ...
  2. 2-what is the use of thread class constructors

    Hi !last time I asked one doubt with heading “what is the use of thread class constructors”.But I could not ask that doubt in a right
    manner.Now I am asking the same doubt in a simple and clear...
  3. What is The use of Thread class constructors?

    Hi!My doubt is on Thread class constructors
    1)public Thread()
    2)public Thread(String name)
    The above two are two constructors of thread class.
    First constructor is used to create object of thread...
  4. Replies
    2
    Views
    648

    synchronized block

    The general form of synchronized block is

    class table
    {
    .......
    void printTable(int n)
    {
    synchronized(obj)
    {
    ......
  5. relation between interrupt status and sleep method

    Hi!
    I am a beginner of java.
    Now I am studying multi threading.
    I want to know relationship between sleep and interrupt status flag".
    I have referred so many books before asking this question ...
  6. relation between interrupt status and sleep method

    Hi !
    --->My doubt Is on relation ship between sleep method and interrupt status flag.
    --->I am asking this doubt based on below two programmes.
    --->In programme1, I have called sleep method with...
  7. Replies
    1
    Views
    1,139

    InterruptedException in multi threading

    Hi !
    My doubt is on InterruptedException in java .
    I am asking my doubt based on sleep method in java.
    When we call interrupt on a thread which is in sleep state then InterruptedException is...
  8. what is difference between call stack and stack tace?

    Hi !
    My doubt is on call stack and stack trace in java.
    Call stack: “The call stack is an internal list of all the methods that are currently executing.”
    Stack trace: ”It is a list of all all the...
  9. why should we declare checked exceptions?

    Hi !My doubt is on checked,unchecked exceptions in java.
    1)You know that if there is any possibility for checked exception to be thrown from a method and we do not have intention to handle the...
  10. Replies
    2
    Views
    421

    Synchronized block in java

    Hi Do not think I am asking repeated question.As I could not express my doubt clearly once again i am sending....
  11. Replies
    2
    Views
    543

    synchronized block

    the general form of synchronized block is
    class table
    {
    .......
    void printTable(int n)
    {
    synchronized(obj)
    {
    ......
    }
  12. Replies
    2
    Views
    225

    doubt on synchronized block-2

    the general form of synchronized block is

    class table
    {
    ......
    .
    void printTable(int n)
    {
    synchronized(object)
    {
  13. Replies
    1
    Views
    944

    synchronized block in java

    Hi ! .Today i am going to ask on synchronized block.

    the general form of synchronized block is
    class table
    {
    .......

    void printTable(int n)

    {
Results 1 to 13 of 13