GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

We have discussed several relationships between variables in…

We have discussed several relationships between variables in the ideal gas law.  Choose a pair of variables, give their relationship and provide a molecular-level description about why this is true.  (Assume other variables to be constant.). (WCSP25)   Boyle’s Law P and V Charles’ Law V and T Avogadro’s Law n and V

Read Details

The following antituberculosis agent colours urine, tears an…

The following antituberculosis agent colours urine, tears and other body fluids orange to reddish-brown: (1)

Read Details

Match the following drugs with their therapeutic uses. Each…

Match the following drugs with their therapeutic uses. Each answer may be used more than once or not at all.  (5)

Read Details

What is the output of the following code? class Shared { syn…

What is the output of the following code? class Shared { synchronized void print() { System.out.println(“Printing…”); } } public class Test extends Thread { Shared s; Test(Shared s) { this.s = s; } public void run() { s.print(); } public static void main(String[] args) { Shared obj = new Shared(); Test t1 = new Test(obj); Test t2 = new Test(obj); t1.start(); t2.start(); } }

Read Details

What does transient keyword do in Java serialization?

What does transient keyword do in Java serialization?

Read Details

Which of the following transitions is illegal in thread life…

Which of the following transitions is illegal in thread life cycle?

Read Details

Which is the correct way to read input from the console line…

Which is the correct way to read input from the console line-by-line?

Read Details

What is the output? public class Example { public static voi…

What is the output? public class Example { public static void main(String[] args) throws InterruptedException { Thread t = new Thread(() -> { try { Thread.sleep(2000); System.out.println(“Hello”); } catch (InterruptedException e) { System.out.println(“Interrupted”); } }); t.start(); t.join(); System.out.println(“World”); } }

Read Details

What will be the output of the following code?  class MyThre…

What will be the output of the following code?  class MyThread extends Thread { public void run() { System.out.print(“A “); } public static void main(String[] args) { MyThread t = new MyThread(); t.run(); System.out.print(“B “); } }

Read Details

What is printed by the following code if the file data.txt c…

What is printed by the following code if the file data.txt contains “Hello”? FileReader fr = new FileReader(“data.txt”); int i = fr.read(); System.out.println((char)i); fr.close();

Read Details

Posts pagination

Newer posts 1 … 31,375 31,376 31,377 31,378 31,379 … 82,623 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top