This document contains an index listing 16 programming experiments including examples of printing the area of a rectangle with and without functions, programs to calculate factorials and check for prime and even/odd numbers, examples of string reversal and different inheritance concepts in object-oriented programming such as single inheritance, multilevel inheritance, and multiple inheritance using interfaces, and examples of user input using the Scanner class.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
23 views
Java Index
This document contains an index listing 16 programming experiments including examples of printing the area of a rectangle with and without functions, programs to calculate factorials and check for prime and even/odd numbers, examples of string reversal and different inheritance concepts in object-oriented programming such as single inheritance, multilevel inheritance, and multiple inheritance using interfaces, and examples of user input using the Scanner class.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
INDEX
Exp No. EXPERIMENT NAME
1 Hello world program with explanation of each statement. 2 WAP to print area of rectangle without function. 3 WAP to print area of rectangle with function. 4 WAP to print area of rectangle without function and *constructor.* 5 WAP for factorial of a fixed number. 6 WAP to check prime number of a fixed number. 7 WAP to check Even or Odd number. 8 WAP to reverse the String. 9 WAP to implement the concept of single inheritance. 10 WAP to implement the concept of multilevel inheritance. 11 WAP to implement the concept of hierarchical inheritance. 12 WAP to implement the concept of hybrid inheritance. 13 WAP to implement the concept of multiple inheritance, i.e. *the interface*. 14 WAP for hybrid inheritance by using interface. i.e. concept of multilevel & multiple in a single program. 15 WAP for user input, i.e. the concept of *Scanner* class ( concept ot *packages*). 16 WAP for factorial of a number entered by user.