0% found this document useful (0 votes)
63 views

Index Oops

The document contains 35 programming assignments related to Java programming. It includes assignments on checking prime numbers, Armstrong numbers, vowels/consonants, displaying prime numbers, checking leap years, calculating grades, finding GCD and LCM, converting between binary and decimal, using arrays, sorting, searching, classes and objects, inheritance, method overloading and overriding, interfaces, exceptions, access modifiers, GUI components and applets. The assignments are listed with a brief description and intended page number for each.

Uploaded by

Pawan Kunwar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views

Index Oops

The document contains 35 programming assignments related to Java programming. It includes assignments on checking prime numbers, Armstrong numbers, vowels/consonants, displaying prime numbers, checking leap years, calculating grades, finding GCD and LCM, converting between binary and decimal, using arrays, sorting, searching, classes and objects, inheritance, method overloading and overriding, interfaces, exceptions, access modifiers, GUI components and applets. The assignments are listed with a brief description and intended page number for each.

Uploaded by

Pawan Kunwar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Sr. No. Content Page No.

1 Write a java Program to check whether input number is prime or not. 1


2 Write a java Program to check whether the given number is Armstrong 1
number.
3 Write a java Program to check whether input character is vowel or 2
consonant.

4 Write a Java Program to display first 100 prime numbers. 3

5 Write a Java Program to check that given input year is Leap Year or not. 4

6 Write a Java Program to Calculate grades of Student 5

7 Write a Java Program to find GCD of two numbers. 6

8 Write a Java Program to find LCM of two numbers. 7

9 Write a Java Program to convert binary number to Decimal number. 7

10 Write a Java Program to Convert Decimal number to Binary number. 8

11 Write a Java Program to Calculate average of numbers using Array 8

12 Write a Java Program to add the elements of an Array. 9

13 Write a Java Program to reverse an array. 9

14 Write a Java Program for bubble Sort. 10

15 Write a Java Program for Linear Search. 11

16 Write a Java Program for Binary Search. 11

17 Write a Java Program for insertion Sort. 12

18 Write a Java Program to print Floyd’s triangle. 13

19 Write a Java program to print Pascal triangle. 14

20 Write a Java Program to display Fibonacci series using loops. 15

21 Write a Java Program to find Factorial of given number using loops. 15

22 Write a Java program to demonstrate concept of class and object 16

23 Write a Java program to demonstrate Inheritance 16

24 Write a Java program to demonstrate Method Overloading in Java 17


25 Write a Java program to demonstrate Method Overriding in Java. 17
26 Write a Java program to demonstrate Super Keyword in Java. 18

Pawan Singh Kunwar(CSE-18)


Sr.No. Content Page No.
27 Write a Java program to demonstrate Final Keyword In Java. 19

28 Write a Java program to demonstrate Java interface. 19

29 Write a Java program to demonstrate Exception Handling by using a try- 19


catch statement.

30 Write a Java program to demonstrate Exception Handling by Multiple 20


Catch and Finally Block
31 Write a program to demonstrate Private, Default, Protected and Public 21
Access Modifiers in Java.

32 Write a Java program to test the common features of swing. 24

33 Write a Java program to show various GUI components. 25

34 Write a Java program to generate figure panel. 25

35 Write a Java program to show welcome message in an applet 26

Pawan Singh Kunwar(CSE-18)


OBJECT-ORENTED PROGRAMMING
ASSIGNMENT

Submitted by

PAWAN SINGH KUNWAR

(Roll No. 180050101037)

Under the Supervision & Guidance of

Mr. Prasant Mishra

Submitted to:

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

BIRLA INSTITUTE OF APPLIED SCIENCES, BHIMTAL

NAINITAL (UTTARAKHAND) - 263136

December 2019

Pawan Singh Kunwar(CSE-18)

You might also like