Create a class and a method with the following requirements: 2.1. Create a class with a class name PersonalInfo 2.1.1. Create a method with a method name basicInfo() and will print your fullname, age, address and your NRG email address. 2.1.2. Create a method with a method name aboutMe() and will print list of your skills and talents. 2.2. Create a class with a class name MyTaskOne. 2.2-1. Create a method name calArrays() and create a java code to print the sum of two arrays and multiply the result by 2. Use the following arrays: a. int[] arr1 = {5, 10, 30, 35, 50, 2}; int[] arr2 = {8, 12, 3, 15, 19, 20}; 2.3. Create a class with a class name MyTaskTwo. 2.3.1. Create a method name checkPalindrome(). Create a java code to check and print if the chosen word is palindrome or not. 2.3.2. Create a method name checkBMI(). Create a java code that calculate the BMI and check if under weight, normal, over weight and obese. 2.4. Create a class with a class name MyClasses 2.4.1. Create a method name myMethods(). In this method create an object for PersonalInfo, MyTaskOne and MyTaskTwo class and call all the methods. 3. Create and instantiate objects for class MyClasses in your Main class. 4. Only objects of class MyClasses will be called in the Main class.



Answer :

Other Questions