Tuesday, November 6, 2018

Java small questions from previous papers




                 Section -A short question from previous papers

  1. Define class and object in java (3M)
  2. Write a short note on the installation of JDK. (4M)
  3. Discuss about binary, unary and ternary operators?
  4. What is Object Oriented Programming? How it is different from Procedural concepts?
  5. Support the statement “java byte code gives high performance”. (4M)
  6. What is an Object? How to allocate memory for objects?
  7. What is the significance of Java’s byte code? (3M)
  8. List the various ways of ‘static’ keyword usage.
  9. What is importance of Unicode in java? Explain. (3M)
  10. Explain about the this keyword with examples.
  11. Explain why Java is Machine Independent. (4M)
  12. Brief on constructor overloading?
  13. Can a method be overloaded based on different return type but same argument type ?
  14. What is the purpose of Alive () function in Java?
  15. What happens when there is no suitable try block to handle exception? (4M)
  16. Write a java program to create multiple threads.
  17. Explain about the final keyword with examples. (3M)
  18. How to suspend threads? Give examples
  19. Java class can be used both as an applet as well as an application" - Support this statement with an example.
  20. What are the different types of controls available in AWT?
  21. Differentiate class, abstract class and interface. (3M)
  22. How does Java support inter thread communication? (4M)
  23. Explain about the importance of extend and implement keywords. (4M)
  24. What is light weight process? Discuss. (3M)
  25. What is the use of ‘super’ keyword? (3M)
  26. What is the role of join ( ) in multithreading? (3M)
  27. Discuss about inner classes. (4M)
  28. Give a note on layouts in AWT?
  29. Differentiate between application and applet (4M)
  30. How menus are created? Give example.
  31. What are assertions?
  32. "Interfaces are able to extend more than one Interface but a Class can't extend more than
  33. One Class" - Why?
  34. What are the differences between applet and application programs? (4M)
  35. Give an overview of JButton class
  36. What is adapter class? Give examples. (4M)
  37. Differentiate between Text field and Text area and also discuss it’s
 constructors and method. (4M)
  1. Present the structure of a Java Applet. (4M)
  2. What are the different types of controls available in AWT?

No comments:

Post a Comment