Computer Science, asked by kanishka2006akms, 7 months ago

What is the use of keyword import?

Answers

Answered by anindyaadhikari13
8

\star\:\:\:\sf\large\underline\blue{Question:-}

  • What is the use of import keyword in java?

\star\:\:\:\sf\large\underline\blue{Answer:-}

  • The import keyword in java is used to import a package, class Or interface into a program. It should be written before the class declaration.

Example:-

import java.lang.Math;

import java.awt.*;

import java.util.*;

Answered by kush193874
6

hey mate..

here is ur answer...

First, to type regular characters and to take advantage of the keyboard shortcuts. You can’t really use the computer efficiently without a keyboard.

Next, to command the computer to do more advanced things for you that just using the mouse wouldn’t be sufficient for. Within a built-in command prompt, you can tell the computer to execute certain actions and even gain valuable system information.

Finally, to act as a mode of the panic button. You can set some hotkeys for toggling processes, or to execute a series of actions, in case things happen to go haywire.

…all of the above are for Windows keyboards.

I hope it's help u mark it as brainlesit ..

Similar questions