5. Create a Java program in BlueJ having a function SayNa() that prin
JAVA IS EASY TO LEARN WITH BLUEJ
. Now compile and run the program you created just now.
- Add another class (given below) in the same program.
public class Two {
public static void display() {
System.out.println ("Hi There !!");
System.out.println (“I am in class Two");
}
}
Answers
Answered by
0
Explanation:
Now compile and run the program you created just now.
- Add another class (given below) in the same program.
public class Two {
public static void display() {
System.out.println ("Hi There !!");
System.out.println (“I am in class Two");
Similar questions