Practical 1: Write down a Java program to write the first ten terms of Fibonacci sequence. Program with Fibonacci sequence of first 10 terms
Practical 2: Write down a Java program which creates a string object, initialize it with your name, and performs the following operations.
a. To find out the length of string object using proper String method.
b. To find out whether the character ‘a’ is present in string. If yes find out the number of times ‘a’ appears in the name and location where it appears.