Tuesday, August 9, 2022

Object Oriented Concepts - Module 2

  1. List and explain the java  buzzwords.
  2. Explain how java is robust and interactive
  3. Explain type conversions in java with suitable example.
  4. Explain the concepts of arrays 'in java with examples.
  5. Write a java program to sum only first five elements of the array using for each looping.
  6. Write a java program that creates and initialises a four integer element array. Find the sum and average of its value.
  7. Explain the syntax of for-each loop.Write a java program to search a key element by using for-each loop.
  8. Explain type conversion in java with an example.
  9. Write a java program to initialize and display different types of integer and floating point variables.
  10. Explain the operation of the following operators: with an example  i) %  ii) >>> iii) && iv) >>
  11. What is type casting. Illustrate with an example.
  12. What is meant by automatic type conversion. Give example
  13. How to declare two dimensional array in java? Explain with simple example.
  14. Differentiate the usage of access specifiers in java and their scope.
  15. List and explain different jump statements used in java with suitable example.
  16. List and explain different iteration statements used in java with suitable example.
  17. Explain switch case usage with suitable example in java
  18. List the different types of operators in java and explain any three.
  19. Illustrate the usage of primitive datatypes and their default values for an instance variable with suitable example.
  20.  Write a java Program to illustrate data types, variables, and functions
  21.  Write a java Program to illustrate the concept of classes and objects.






No comments:

Post a Comment

Database Management systems - Module 2

1 a. Explain the entity integrity and referential integrity constraints.   Why is each considered important. Give examples.    b. Discuss eq...