Ad Code

Responsive Advertisement

50 Java Language Computer Knowledge Short Answer Questions - One Word CK bits || sweetymyworld ||

 50  Java Language Computer Knowledge 



Interview Asking for 

Short Answer Questions  :-

  1. Who is invented by java programming ? James Gosling 
  2. Java is a independent or dependent programming language ? Independent 
  3. Use of pointers is a java feature ? Yes or no ? No
  4. Java is case sensitive ? True 
  5. Java was publicly released in ___? 27-05-1995
  6. Java is Secure ? Yes or no ? Yes 
  7. In java ,System class is defined in ___?  java.lang package 
  8. In java , Scanner class defined in ___? java.util package 
  9. In java, Scanner class is used to take input at ? Run-time 
  10. Which Steam is used for input ? System.in
  11. Which Stream is used for output ? System.out
  12. What is the extension of java code files? .java
  13. What us the extension of compiled java classes ? .class
  14. Keyword is used for a variable name in java ? Yes or no ? No
  15. Which of the following is a type of polymorphism in java programming programming ? Compile time polymorphism 
  16. Which of the following package is used for text formatting in java programming language ? java.text
  17. Which component is used to compile , debug and execute the java  programs ? JDK
  18. Which Scanner class method is used to read integer value ? nextInt()
  19. Which Scanner class method is used to reqd String value ? next() and nextLine()
  20. How many types if Data type in java ? 2
  21. How many primitive Data type in java ? 8
  22. What is the size of char Data type ? 2 bytes
  23. What is the default value of boolean Data type ? False 
  24. Which of the following is smallest integer Data type ? Byte 
  25. Which of the following Data types  comes under floating Data types ?double & float 
  26. What is the range of byte data type is ? -128 to +127
  27. How many loops are their in java ? Three
  28. What is the purpose for using loop ? For repeatation 
  29. Which loop always execute atleast once, even condition false ? do while loop 
  30. Do while loop is also  as ___loop ? Exit control 
  31. Which of the following loops are entry controlled loop ? While and for loop
  32. Which loop is best suitable for Arrays in java ? For - each loop
  33. Assignment operator is not a part of binary operator ? Yes
  34. which operator is used for alternate of if-else statement ? Ternary operator 
  35. Which of the following is arthmetic operators are ? +,-,*,%,/,
  36. Relational operator is used for ? Comparison 
  37. How many types of logical operators ? 3
  38. Which of the following is bitwise operator ? &  
  39. What is the default value of static variable ? 0
  40. A variable which is Declared inside the method called ____? Local variable 
  41. Which of these selection statements test only for Equality ? a)if b)switch c)if & switch d)None of these answer is switch
  42. If statement execute or skip statement depending on the _____expression ? Boolean 
  43. Which one is a valid declaration of boolean datatype ? book b=false;
  44. What is the default data type of a decimal value in java ? double 
  45. In java , Scanner is pre- defined ? Class
  46. What is tbe reason of portability & security of java ? byte code 
  47. What does the expression double n=1/0; return ? Infinity 
  48. Which of these class is a superclass of every class in java ? object class 
  49. Void is not to Access modifier  ? Yes or no ? yes 
  50. Which of these are conditional statements in java  ? if()

For more posts 


Post a Comment

0 Comments

Close Menu