Complete the code to print a popular reason why Java is widely used.
System.out.println("Java is [1].");
Java is known for being platform-independent, meaning it can run on many types of computers without changes.
Complete the code to show Java's feature that helps manage memory automatically.
System.out.println("Java has [1] garbage collection.");
Java has automatic garbage collection, which helps manage memory without programmer intervention.
Fix the error in the code to print Java's security feature.
System.out.println("Java is [1] secure.");
Java is highly secure due to its runtime environment and security features.
Fill both blanks to describe Java's portability and community.
Java is [1] and has a large [2].
Java is portable, meaning it can run on many devices, and it has a large community of developers.
Fill all three blanks to complete the sentence about Java's features.
Java is [1], [2], and [3].
Java is platform-independent, secure, and object-oriented, which makes it popular and powerful.