What is meant by a package.Give an example

1 Answer

Answer :

Ans. Package in Java is a mechanism to encapsulate a group of classes, sub packages and interfaces., examples : lang , io , util etc..

Related questions

Description : If int y = 10 then find int z = (++y * (y++ + 5));

Last Answer : Ans. Increment operator has the highest precedence. So, ++y and y++ will be evaluated starting from left. In ++y, the value of y will be incremented to 11 and then 11 will be used in the expression. When y++ is evaluated, the current ... int z = (++y * (y++ + 5)); = 11 * (11 + 5 ) = 11 * 16 = 176

Description : What are the types of casting shown by the following examples: (i) char c = (char)120; (ii) int x = ‘t’;

Last Answer : Ans. (i) Explicit casting (ii) Implicit casting

Description : Name any two library packages.

Last Answer : Ans. java.util, java.io

Description : Write one difference between / and % operator.

Last Answer : Ans. / is division operator while % is modulus operator which gives the remainder on dividing two numbers.

Description : Name the operators listed below i) < ii) ++ iii) && iv) ?:

Last Answer : Ans. i) Less than comparison operator ii) Increment operator iii) And logical operator iv) Ternary operator

Description : Write the output for the following: System.out.println(“Incredible” + “\n” + “world”);

Last Answer : Incredible world

Description : System.out.print(“BEST “); System.out.println(“OF LUCK”); Choose the correct option for the output of the above statements: (i) BEST OF LUCK (ii) BEST OF LUCK

Last Answer : Ans. (i) is the correct output. System.out.print() does not add a new line at the end because of which ‘OF LUCK’ gets printed on the same line as ‘BEST’.

Description : int res = ‘A’; What is the value of res?

Last Answer : Ans. res will hold the ASCII value of ‘A’ which is 65.

Description : Classify the following as primitive or non-primitive data types: (i) char (ii) arrays (iii) int (iv) classes

Last Answer : Ans. (i) char – Primitive (ii) arrays – Non primitive (iii) int – Primitive (iv) Classes – Non primitive

Description : If the value of basic = 1500, what will be the value of tax after the following statement is executed tax = basic > 1200 ? 200 : 100

Last Answer : Ans. 200

Description : Write a difference between Unary and Binary Operator

Last Answer : Ans. Operators that acts on one operand are referred to as Unary Operators while Binary Operators acts upon two operand Unary + or Unary – , increment/decrement are the example of Unary operator While binary operator +,-,*,/ and % are the example of binary operators , (+) adds values of its operands

Description : What is meant by version of application package program ?

Last Answer : Package software manufacturers regularly launch new versions of package software in the market by checking the needs of the buyers. This is called a version of the application package program. ... program are released to survive the competition , meet customer demand, and succeed commercially.

Description : Example of graphics package?

Last Answer : corell draw,photopaint

Description : An example of the risk involved in development is a) Key personnel may resign before the product is complete b) The manufacturer of critical components (e.g. the hardware  associated with a ... a fully functional lower-cost  equivalent package e) All of these are risks involved in development.

Last Answer : e) All of these are risks involved in development.

Description : A carton of orange juice has no brand name on the package, only the name of the product 'orange juice'. This is an example of A)a manufacturer's brand. B)an own label brand C)a no -frills brand D)a generic brane

Last Answer : D)a generic brane

Description : Define package. How to create user defined package? Explain with example.

Last Answer : Java provides a mechanism for partitioning the class namespace into more manageable parts. This mechanism is the package. The package is both naming and visibility controlled mechanism. Package can be created by including package as the first ... []) { Box b=new Box(); b.display(); } } 

Description : What are the benefits of spreadsheet package ?

Last Answer : Below are the benefits of spreadsheet - 1. A worksheet has 256 columns and 65,536 rows. 2. Benefits of 16 worksheets are available. 3. Multiple spreadsheets can be linked together. 4. Numerous formulas ... be presented in different ways. 15. Saving can be done by creating a format in the worksheet.

Description : A person who designs the programs in a software package is called : a) User b) Software Manager c) System Developer d) System Programmer

Last Answer : Answer: d Explanation: The programs included in a system software package are called system programs. The programmers who design them and prepare them are called system programmers

Description : Software Package is a group of programs that solve a multiple problems. a) True b) False

Last Answer : Answer: b Explanation: The statement is false. Software package is a group of programs that solve a specific problem or perform a specific type of job

Description : The physical devices of a computer: a) Software b) Package c) Hardware d) System Software

Last Answer : Answer: c Explanation: Hardware refers to the physical devices of a computer system. Software refers to a collection of programs. A program is a sequence of instructions

Description : Set of programs which consists of full documentation. a) Software Package b) System Software c) Utility Software d) File package

Last Answer : Answer: a Explanation: It is called a software package. A software is nothing but a collection of programs. A software package can solve a specific problem or perform a specific type of job

Description : The software designed to perform a specific task: a) Synchronous Software b) Package Software c) Application Software d) System Software

Last Answer : Answer: c Explanation: Software refers to a collection of programs. Softwares designed to do a specific task are referred to as the application softwares. Eg. :Inventory management, banking, etc

Description : DOS, Windows XP, Windows Vista, Unix, Linux, MAC/OS X etc. are examples of: a) Operating System Software b) Package Software c) Utility Software d) None of These

Last Answer : a) Operating System Software

Description : Computer software includes : a) Application programs b) Operating system programs c) Package programs d) All of these e) None of these

Last Answer : d) All of these

Description : A ____ is a namespace for organizing classes and interfaces in a logical manner. Placing your code into ______makes large software projects easier to manage. This section explains why this is useful and ... provided by the Java Platform: a) Inheritance b) Object c) Package d) None of These

Last Answer : c) Package

Description : An _____ is a contract between a class and the outside world. When a class implements an interface, it promises to provide the behavior published by that ______: a) Object b) Interface c) Package d) None of These

Last Answer : b) Interface

Description : What is meant by water divide? Give an example. -Geography

Last Answer : A water divide or a drainage divide is any elevated area of terrain that separates drainage basins into two parts. It can be a mountain, plateau, or any terrain which is separating neighboring drainage ... is an example of a water divide. It is located between the Indus and Ganga river system.

Description : What is meant by resolving a vector into components give an example?

Last Answer : Need answer

Description : What is meant by unidentate , didentate and ambidentate ligands . give two example of each

Last Answer : When a legend is bound to a metal ion through a single diner atom, is said to be unidentate for ex- Cl- , H2O & NH3 When a legande can bound through two donor atoms as in H2N ... is said to be polydentate ligand which can ligate through two different atoms is called ambidenate ligand Ex-NO2, SCN 

Description : What is meant by induced catalysis ? Give an example.

Last Answer : It is a phenomenon in which a chemical reaction increases the rate of another reaction which otherwise may not occur in similar conditions.  Eg. Sodium arsenite (Na3AsO3 ) is not oxidised in air but if ... a solution containing Na3AsO3 and Na2 SO3 , then both AsO3 3- and SO3 2- ions are oxidised.

Description : What is meant by external fertilisation? Give example.

Last Answer : Fertilisation taking place outside the body of the organism is called external fertilisation. Ex: Fishes, frog etc.

Description : Which shipping carrier do I give this return package to?

Last Answer : Former Amazon customer service employee here: That's an AnyCarrier label - not prepaid, and can be used with any shipper. Basically a printable return address. If the item is from a third party seller ... and sold by Amazon). Just call customer service (866-216-1072) and tell them what happened.

Description : I need to ship a package can anyone give me and estimate on how much it would cost to ship it?

Last Answer : http://postcalc.usps.gov/

Description : A college wants to give training in use of Statistical Package for Social Sciences (SPSS) to researchers. For this the college should organize: (A) Conference (B) Seminar (C) Workshop (D) Lecture  

Last Answer : Answer: C