JAVA 2019

Please enter your email:

1. which of these is a wrapper around everything associated with a reply from an http server?

 
 
 
 

2. Java Allows programmers to develop the following :

 
 
 
 

3. Which of the following is not a mail server ?

 
 
 
 

4. Give The Abbreviation for AWT:

 
 
 
 

5. Which of the Method of class string is used to obtain a length of string object 😕

 
 
 
 

6. What will be the output of this program is :

class string-demo

{

public static void  main(String args[])

{

char chars[]={‘a’,’b’,’c’};

String S=new String (chars);

System.out.println(S);

}

}

 
 
 
 

7. Size of byte data type is :

 
 
 
 

8. Which of the coding type is used for data type characters in java ?

 
 
 
 

9. & operator can return :

 
 
 
 

10. Literals in java must be appended by which of these ?

 
 
 
 

11. Which of these can be overloaded ?

 
 
 
 

12. output of the code :

String S1=”yes”;

String S2=”yes”;

String S3=new String (S1);

 

 
 
 
 

13. What will be the result of expression 13&25?

 
 
 
 

14. Which of these is a valid method declaration?

 
 
 
 

15. What is the type and value of following expression?

-4+1/2+2*-3+5.0;

 
 
 
 

16. Which of the variable declaration not compile in java program ?

 
 
 
 

17. In java objects are passed as :

 
 
 
 

18. Which is not a searching technique ?

 
 
 
 

19. Father of Java programming is :

 
 
 
 

20. Which provides run Time environment for java byte code to be executed ?

 
 
 
 

21. Which one of the following is a java keyword?

 
 
 
 

22. Which of the following is an access modifier ?

 
 
 
 

23. Full Form of JVM is :

 
 
 
 

24. All syntax Error are Called :

 
 
 
 

25. Which of these is not used to take input from use in java?

 
 
 
 

26. Subclass of which following class can not be created ?

 
 
 
 

27. Who invented java language ?

 
 
 
 

28. Which of these is converted into Machine code by java interpreter?

 
 
 
 

29. Which of valid declaration of a float ?

 
 
 
 

30. Which symbol is used to denote a multiline comment in java ?

 
 
 
 

31. It is process of removing error found in the program:

 
 
 
 

32. Order of three top level elements of java source file is :

 
 
 
 

33. Which of these is a part of Abstract Window toolkit ?

 
 
 
 

34. server side script is :

 
 
 
 

35. server side script is :

 
 
 
 

36. Which one is a valid declaration of boolean ?

 
 
 
 

37. How to sort an array?

 
 
 
 

38. What will this code print ?

int arr[]=new int [5];

System.out.println(arr);

 
 
 
 

39. Which of these have highest precedence ?

 
 
 
 

40. What would be behaviour if the constructor has a return type ?

 
 
 
 

41. What will S2 contain after following lines of code ?

String S1=”one”;

String S2=S1.concat(“two”);

 
 
 
 

42. We can not create subclass of ?

 
 
 
 

43. Which of the following package is used to create and implement applet ?

 
 
 
 

44. life cycle of thread is controlled by :

 
 
 
 

45. Full Name of JDBC is :

 
 
 
 

46. Which will legally declare construct and initialize an array?

 
 
 
 

47. The Minimum value of char type variable is :

 
 
 
 

48. Which one is not Supported by OOP?

 
 
 
 

49. Java Program are :

 
 
 
 

50. When a method is made static , What it can not use ?

 
 
 
 

51. In Java , main () method returns a value of type :

 
 
 
 

52. Which of the following is not a Wrapper class?

 
 
 
 

53. Evaluate the value of expression ?

6-2+10%4+7

 
 
 
 

54. The && and || operators :

 
 
 
 

55. Which of the following is used with switch statement ?

 
 
 
 

56. What is the valid data type for variable “a” to print “Hello World”?

  1. Switch (a)
  2. {
  3. System.out.println(“Hello World”);
  4. }
 
 
 
 

57. Which of the following is not a decision making statement ?

 
 
 
 

58. Which of the following is not a valid jump statement in java ?

 
 
 
 

59. The class at the top of the AWT Hierarchy is :

 
 
 
 

60. Frame control Act as a :

 
 
 
 

61. The ____is a tool for both the input and output purpose.

 
 
 
 

62. Which of these is long data type leteral ?

 
 
 
 

63. What is the value stored in x in following lines of code ?

int x,y,z;

x=0;

y=1;

x=y=z=8;

 
 
 
 

64. When does method overloading determined ?

 
 
 
 

65. What is the range of short data type in java?

 
 
 
 

66. Which of the following has a method named flush ()?

 
 
 
 

67. File class is included in which package ?

 
 
 
 

68. Arrange in sequence from lower to higher :

  1. terabyte
  2. megabyte
  3. nibble
  4. yotabyte
 
 
 
 

69. What is the default value of float variable ?

 
 
 
 

70. Operators having same priority are evaluated from :

 
 
 
 

71. If a variable is declared final,it must include ____value.

 
 
 
 

72. In Java Program ,package declaration ______import statements.

 
 
 
 

73. Which of the following is not the  java primitive type ?

 
 
 
 

74. Java Programs perform I/O Through :

 
 
 
 

75. How Many Time does the following code segment execute :

  1. int x=1,y=10,z=1;
  2. do{y-;x++;y-=2;y=;z++}while(y>1&&z<10);
 
 
 
 

76. Command to execute compiled java program is :

 
 
 
 

77. The new operator dynamically allocates ____for an object and return a reference to it .

 
 
 
 

78. Class is a ______entity.

 
 
 
 

79. Operator that concatenates two strings :

 
 
 
 

80. ____is valid for IF statement.

 
 
 
 

81. A _____object can not be modified after it is created .

 
 
 
 

82. Which of the following denotes a javadoc comment ?

 
 
 
 

83. Which of the following is an assignment operator ?

 
 
 
 

84. Which of the following will produce a value of 22 if x =22.9?

 
 
 
 

85. full form of HTTP is :

 
 
 
 

86. Consider the code segment

“x=(a>b)?a:b”,

then the value of x is 19,if a=19 and b=12:

 
 
 
 

87. Each method in a java class must have a unique name :

 
 
 
 

88. Which of the following is used to convert string to number in java program ?

 
 
 
 

89. Method overloading is one of the way that java supports___

 
 
 
 

90. What is the extension of compiled java program ?

 
 
 
 

91. What will be the output of the following code ?

byte x=64,y;

y=(byte)(x<<2);

system.out.println(y);

 
 
 
 

92. If m  and n are int type variables ,what will be the result of expression m%n when m=5 and n=2?

 
 
 
 

93. Java has its origin in :

 
 
 
 

94. What would happen if “string [] args ” is not included as argument in the main method ?

 
 
 
 

95. Which of the following is not mandatory in variable declaration ?

 
 
 
 

96. All java classes are derived from:

 
 
 
 

97. Full Form of ASP :

 
 
 
 

98. In java ActiveX Controls can run on:

 
 
 
 

99. Which language is usually considered for client side scripting ?

 
 
 
 

100. Which is the container that contains Title Bar and can have Menu Bar it can have other components like button, text field etc ?

 
 
 
 

101. AWT is used for GUI programming :

 
 
 
 

Question 1 of 101

Leave a Reply

Your email address will not be published. Required fields are marked *