Skip to main content

100 Java Questions

core java interview questions


  1. WHAT IS  JAVA ?
  2. The Java Platform?
  3. what is Unicode?
  4. what is Byte code?
  5. who developed the java?
  6. when java is invented?
  7. what is the advantage of java?
  8. what is oops concept in java ??
  9. WHERE IT AS USE?
  10. WHY JAVA USE? 
  11. what is the use of oops?
  12. why java intermediate language?
  13. what are the dis advantage of oops?
  14.  how many java language keywords?
  15. what is the use of keywords?
  16. why we are using java keywords?
  17. what are the use of data types?
  18. how many  data types are supported in java?
  19. how many numeric data types are supported in java?
  20. java control structures?
  21. what is break?
  22. what is continue in java loop?
  23. java control  statements ? 
  24. java Control loops?
  25. how to declare the variable in java?
  26. what is array ?
  27. how to initialize array in java?
  28. how many types of arrays in java ?
  29. what is the use of array?
  30. array index out of bounds exception java?
  31. how to  Accessing Array Element?
  32. how to  manipulation and replacement in array?
  33. how to calculate the array length in java?
  34. what is the class and it's syntax?
  35. what is const/
  36. what is default?
  37. what is the object?
  38. how to create object in java?
  39. how to create object in java without new operator?
  40. what is the interface in java?
  41. what is the method  and it's syntax?
  42. java variables?
  43. what is class variable/
  44. what is instance variables?
  45. what is array component variable ?
  46. what is method  Parameter Variable?
  47. what is Exception Handler Parameter Variable?
  48. what is Local Variable?
  49. what is the static variable in java?
  50. what is static class in java?
  51. what is public static  in java?
  52. what is private static in java?
  53. what is static block in java ?
  54. what is difference public static and private static ?
  55. how many types of errors in java?
  56.   what is static constructor ?
  57. what is static constructor?
  58. what is the static object in java?
  59.  what is static polymorphism/
  60. what is method overloading?
  61. what is method overriding in java?
  62. what is method prototype in java?
  63. what is method binding in java/
  64. call by method in java?
  65. what are pass by reference and pass by value in java/
  66. what is the hashmap and map?
  67. java constructors?
  68. java destructor ?
  69. what is final keywords in java?
  70. what is final method in java/
  71. what is final class in java?
  72. what is the supper key word in java?
  73. what is  abstract method in java
  74. what is assert in java?
  75. what is void in java?
  76. what is the difference b/w the  implements and extends ?
  77. what is else?
  78.  inheritance in java?
  79. how many type inheritance in java?
  80. what is this  in java?
  81. why java does not support  multiple inheritance in java?
  82. exception handling in java ?
  83. What happens when an Exception occurs?
  84. what is arithmetic exception ?
  85. what is environmental exception in java?
  86. what is undetectable exception in java?
  87. Benefits of Exception Handling framework
  88. Catching exceptions with try-catch
  89. Catching exceptions with finally
  90. Throwing exceptions
  91. Rules in exception handling
  92. Exception class hierarchy
  93. Checked exception and unchecked exception
  94. Creating your own exception class
  95. what is the palymorphism in java?
  96. what is the difference b/w interface and abstract class?
  97. what is the purpose of garbage collection in java when it is used?
  98. explain different why of using thread/
  99.  d/w hashmap and hash table?
  100. d/w vector and array list?
  101. d/w swing and awt?
  102. difference between constructor and method?
  103. what is iterator?
  104. what is public ,static , private , protected ,default,modifiers,


Popular posts from this blog

java script

This Javascript tutorial is for people with little or no experience with programming. It covers these topics: The Definition of Javascript The History of Javascript Java Versus Javascript Learning Javascript A Basic JavaScript Example The Definition of Javascript JavaScript is a type of programming language that works with HTML to make web pages more interactive. For instance, if you had a trivia quiz on a web page you could use JavaScript to check the answers. Javascript is limited. It is not a full-featured programming language like Java or C++. Think of the JavaScript language as a simple, easy-to-use programming language that has only the features necessary to make web pages interactive. The History of Javascript When the Web was first created in the early 1990s all web pages were static. In other words there were no popup windows, no shopping carts, no flying thingy's etc. Pages just stayed still. At that time Netscape Navigator and Internet Explorer were the top browsers. Net...

php super global variables examples | super global variables in php example

Super global variables are special type variables in php. We can access them from any place with in the application. $_GET :-The $_GET is a super global variable. By using this super global variable we can get the posted values of GET method. $_GET super global variable by default, is the only way that we can access variables passed via GET method. $_POST :-The $_POST is a super global variable. By using this super global variable we can get the posted values of POST method. When ever we can submit the form get are post method to get the form values $_REQUEST. $_SESSION :   $_SESSION is a super global variable. By using this super global variable we can create a SESSION and we read the SESSION .SESSION are used to maintain the state of the application. $_COOKIE : $_COOKIE is a super global variable. By using this is super global variable stores information passed into the script through HTTP cookies. $_ENV : $_ENV is a super global variable. By usi...

find visitor location php

<?php function geoCheckIP($ip)   {   //check, if the provided ip is valid   if(!filter_var($ip, FILTER_VALIDATE_IP))   {   throw new InvalidArgumentException("IP is not valid");   }   //contact ip-server   $response=@file_get_contents('http://www.netip.de/search?query='.$ip);   if (empty($response))   {   throw new InvalidArgumentException("Error contacting Geo-IP-Server");   }   //Array containing all regex-patterns necessary to extract ip-geoinfo from page   $patterns=array();   $patterns["domain"] = '#Domain: (.*?)&nbsp;#i';   $patterns["country"] = '#Country: (.*?)&nbsp;#i';   $patterns["state"] = '#State/Region: (.*?)<br#i';   $patterns["town"] = '#City: (.*?)<br#i';   //Array where results will be stored   $ipInfo=array();   // &nbsp;   //check response from ipserver for above patterns   foreach ($pa...