Welcome to your JAVA-I DATE:March 17, 2025 Name of Student 1.Which of them is not a Primitive Data type int float Long None of Above None 2.Which of them is an abstract data type int float string char None 3.There are _________ and ______________ date type in java Primitive & Abstract int & double char & string All of Above None 4.In JAVA there are __________ number of primitive data type 8 9 12 4 None 5.Which is true about Abstract data type Known as Derived Data type Based on Primitive data type Have more Functionality then Primitive data type All of Above None 6.Which of them is operator is not supported by java ++ -- sizeof None of Above None 7.What is true about Wrapper class Every Primitive have wrapper class Allow to work the primitive data type variable as an object Provide the different function All of Above None 8.The wrapper class for int data type is INTEGER Integer integer Int None 9.Which of them is a default Constructor when name of class is student student() student(int) int student() int student(int) None 10.________________ is a default constructor Constructor have one Constructor doesn't have any Constructor with Two parameter All of Above None 11.Constructor have having one or more parameter is known as _____________- default constructor parameterized constructor Both Above None of Above None 12.We can not create the object of abstract class True False None 13.Exception is a run time error True False None 14.which of the following is an exist control loop. for while do while None of Above None 15.int x=10,s=0;while(i<10){s=s+i;}printf("%d",s);What is output 0 10 55 11 None 16.which of them is not a correct variable name? Int X2 Student Name Full_address None 17.What is Data Type What type of value a variable can store What type of structure a variable require Both Above None of Above None 18.Which of them is/are the Entry control loop While For Both Above Do None 19.Which of them is not a type of operator Unary Binary Ternary While None 20.Which of them is not a binary Operator Arithmetic Logical Relational Sizeof None 21.x=23y=(x>20):10:12;What is value of y 23 10 12 None of Above None 22.Which is not a member of Math class sqrt() power() pow() abs() None 23.String class has the ____________ function len() Uppercase() Lowercase() All of Above None 24.String class does not have _________ function Lowercase Reverse Uppercase Len None 25.The Class that inherited from the other class is known as ____________ Super Class Sub Class Final Class Private Class None
Add a Comment