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