16 solutions available
Question 1What are the library classes in Java? What is their use?
Question 2(i)Define Primitive data type
Question 2(ii)Define Composite data type
Question 2(iii)Define User-defined data type
Question 3Why is a class called a composite data type? Explain.
Question 4What is a wrapper class? Name three wrapper classes in Java.
Question 5Explain the terms, Autoboxing and Auto-unboxing in Java.
Question 6How do you convert a numeric string into a double value?
Question 7Describe wrapper class methods available in Java to parse string values to their numeric equivalents.
Question 8How can you check if a given character is a digit, a letter or a space?
Question 9(i)Distinguish between isLowerCase() and toLowerCase()
Question 9(ii)Distinguish between isUpperCase() and toUpperCase()
Question 9(iii)Distinguish between isDigit() and isLetter()
Question 9(iv)Distinguish between parseFloat() and parseDouble()
Question 10Define a class (using the Scanner class) to generate a pattern of a word in the form of a triangle or in the form of an inverted...
Question 11Define a class called mobike with the following description:Instance variables/Data members:int bno - to store the bike's numberint phno -...