Computer Science, asked by ashutosh4138, 11 months ago

answer anyone both the parts​

Attachments:

Answers

Answered by shibusaurav21
0

1) Java Package key word

2) Unlimited number of reference types, as they are defined by the user. Consists of boolean and numeric types: char , byte , short , int , long , float , and double . Memory location stores a reference to the data. Memory location stores actual data held by the primitive type.

Answered by Anonymous
1

Question :-

Name the following :

(i) A keyword for calling a package in a program .

(ii) Any one reference datatype .

Answers:-

(i) Import .

(ii) class .

Explanation :-

▶ Import is used to call the package .

▶ The keyword is used before the package .

▶ For example : import java.util,*;

▶ In the above example , java.util.* is a package .

▶ A keyword is a word that has a special meaning for the language compilers .

▶ It cannot be used as identifiers .

▶ Class is also a user defined datatype .

▶ It is a reference data type .

Similar questions