Computer Applications
Which keyword includes a package in a Java program?
- new
- public
- import
- class
Java Intro
6 Likes
Answer
import
Reason — The import keyword in Java is used to include a package into a Java program. The syntax for importing a package is:
import <package_name>;
Answered By
4 Likes
Related Questions
A Java program is written under:
- Sub-function
- Nested function
- Main function
- Overloaded function
…………… statement displays the result in Java programming.
- System.print()
- Print()
- System.printout()
- System.out.println()
Read the following text and choose the correct answer:
BlueJ version is a menu driven approach for Java programming. It allows the users to carry out different tasks by clicking the options available on the menu bar.
Which is the most suitable statement for BlueJ from the following?
- It is a window based platform.
- It is a DOS based platform.
- It is a window based and DOS based platform.
- Every task is performed by typing the commands on the screen.
Java application is a Java program which is developed by users.