This document contains a Java practical file submitted by ASDFG Prakhar to Priyanka Kheuta. The file includes 11 programming problems covering topics like checking if a number is prime, finding a factorial, checking for palindromes, building a calculator with if/else, finding the largest of three numbers with a ternary operator, implementing string functions, sorting arrays, inheritance, polymorphism, abstraction with abstract classes, and encapsulation. It provides the title and page number for each problem.
This document contains a Java practical file submitted by ASDFG Prakhar to Priyanka Kheuta. The file includes 11 programming problems covering topics like checking if a number is prime, finding a factorial, checking for palindromes, building a calculator with if/else, finding the largest of three numbers with a ternary operator, implementing string functions, sorting arrays, inheritance, polymorphism, abstraction with abstract classes, and encapsulation. It provides the title and page number for each problem.
This document contains a Java practical file submitted by ASDFG Prakhar to Priyanka Kheuta. The file includes 11 programming problems covering topics like checking if a number is prime, finding a factorial, checking for palindromes, building a calculator with if/else, finding the largest of three numbers with a ternary operator, implementing string functions, sorting arrays, inheritance, polymorphism, abstraction with abstract classes, and encapsulation. It provides the title and page number for each problem.
1 WAP to find whether a number is prime or not? 2 Find factorial of a number? 3 Check whether a given string is palindrome? 4 Build calculator using if else ladder? 5 Find largest among three numbers using ternary operator? 6 Implement string function? 7 WAP to sort an array of numeric or string data? 8 Implement inheritance 9 Implement polymorphism 10 WAP to implement abstraction through abstract class? 11 Implement incapsulation