Professional Documents
Culture Documents
4. Write a program in Java to create a class Student with data name, Roll.no and age along with a
method to display the data. Create two objects to access Student data.
11. Write a Java program in which you will declare two interface sum and Add inherits these interface
14) Write a program in Java if number is less than 10 and greater than 50 it generate the
17) Write a Java program to create a file and write the text in it and save the file.