Welcome to your Java Fundamentals

1. 
What of the following is the default value of an instance variable?

2. 
Which of the following is false about String?

3. 
What is Encapsulation?

4. 
Which of the following is not a Java features?

5. 
What is used to find and fix bugs in the Java programs.

6. 
Which statement is true about Java?

7. 
What is not the use of “this” keyword in Java?

8. 
In which process, a local variable has the same name as one of the instance variables?

9. 
What is the output of the following program?

public class Test implements Runnable
{
         public void run()
         {
          System.out.printf("%d",3);
          }
          public static void main(String[] args) throws InterruptedException
          {
                    Thread thread = new Thread(new Test());
                    thread.start();
                    System.out.printf("%d",1);
                    thread.join();
                    System.out.printf("%d",2);
           }
}

10. 
What is runtime polymorphism?