Technical Field Of Java Development and Programming

26 Questions | Attempts: 67
Please wait...
Question 1 / 27
🏆 Rank #--
Score 0/100

1. Synchronized is a keyword to tell a Thread to grab an Object lock before continuing execution.

Submit
Please wait...
About This Quiz
Technical Field Of Java Development and Programming - Quiz

This test will measure the applicants knowledge and competency in the technical field of Java development and programming

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Methods that are marked protected can be called in any subclass of that class.

Submit

3. An abstract class can have non-abstract methods.

Submit

4. Primitive datatypes are allocated on a stack.

Submit

5. Can you compare a boolean to an integer?

Submit

6. Inner classes can be defined within methods.

Submit

7. If class A implements an interface does it need to implement all methods of that interface?

Submit

8. Java keywords are written in lowercase as well as uppercase

Submit

9. Following code will result in: int a1 = 5; double a2 = (float)a1;

Submit

10. A class cannot be declared

Submit

11. A class can be transient

Submit

12. What is an instanceof

Submit

13. Following code will result in: int a = 3.5;

Submit

14. Following code will result in: class A { int b = 1; public static void main(String [] args) { System.out.println("b is " + b); }}

Submit

15. Following code will result in: class A { public static void main(String [] args) {B b = new A(); }} class B extends A {}

Submit

16. What is the size of a Char?

Submit

17. Following code will result in: class A { public static void main(String [] args) {A a = new B(); }} class B extends A {}

Submit

18. The default statement of a switch is always executed

Submit

19. What is default layout manager for panels and applets?

Submit

20. The methods wait(), notify() and notifyAll() in Object need to be called from synchronized pieces of code

Submit

21. Integer a = new Integer(2); Integer b = new Integer(2); What happens when you do if (a==b)?

Submit

22. Following code will result in: int a = 9/0;

Submit

23. You execute the code below in an empty directory. What is the result? File f1 = new File("dirname"); File f2 = new File(f1, "filename");

Submit

24. Following code will result in: float a = 9/0;

Submit

25. Which one does not extend java.lang.Number

Submit

26. Which of the following statements are true?

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (26)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Synchronized is a keyword to tell a Thread to grab an Object lock...
Methods that are marked protected can be called in any subclass of...
An abstract class can have non-abstract methods.
Primitive datatypes are allocated on a stack.
Can you compare a boolean to an integer?
Inner classes can be defined within methods.
If class A implements an interface does it need to implement all...
Java keywords are written in lowercase as well as uppercase
Following code will result in: int a1 = 5; double a2 = (float)a1;
A class cannot be declared
A class can be transient
What is an instanceof
Following code will result in: int a = 3.5;
Following code will result in: class A { int b = 1; public static void...
Following code will result in: class A { public static void...
What is the size of a Char?
Following code will result in: class A { public static void...
The default statement of a switch is always executed
What is default layout manager for panels and applets?
The methods wait(), notify() and notifyAll() in Object need to be...
Integer a = new Integer(2); Integer b = new Integer(2); What happens...
Following code will result in: int a = 9/0;
You execute the code below in an empty directory. What is the result?...
Following code will result in: float a = 9/0;
Which one does not extend java.lang.Number
Which of the following statements are true?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!