This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Best Top 101 Java Interview Questions and Answers for freshers and experienced

Best Top 101 Java Interview Questions and Answers for freshers and experienced


The idea of this post Best Top 101 Java Interview Questions and Answers for freshers and experienced is to give an idea of questions to viewers of this post.  Best Top 101 Java Interview Questions and Answers for freshers and experienced are beneficial for students as well as candidates appearing for interviews.

  1. What is Java technology ?

  2. What are the benefits of OOPS?

  3. What is Java Development Kit (JDK) ?

  4. What are the Major Features of Java Technology Architecture ?

  5. What is Java Virtual Machine (JVM) ?

  6. What are the advantages of JVM?

  7. What are classpath variables?

  8. What was the earlier name of Java?

  9. What are the steps involved in Java Application Execution ?

  10. Explain the architecture of code execution process inside JRE ?

  11. What is Garbage Collector ?

  12. What an object contains?

  13. What is class loader ?

  14. Why Java is known as interpreted and compiled?

  15. Which feature of C language is not present in Java?

  16. What is Collection API?

  17. What is byte code verifier ?

  18. Explain different way of using thread?

  19. Why Java is known as a platform neutral language?

  20. What is Java API?

  21. What is the difference between static and non-static variables?

  22. Can main() method be declared final?

  23. What is the purpose of garbage collection in Java, and when is it used?

  24. What are the features of OOPS?

  25. What is encapsulation?

  26. Define Applet in JAVA

  27. What are the verification done by byte code verifier ?

  28. What is JDBC in JAVA

  29. What is inheritance?

  30. Explain the usage of Java packages.

  31. How you can force the garbage collection?

  32. What is abstraction?

  33. What is single inheritance?

  34. What is a Constructor ?

  35. How do we access data members of a class in java?

  36. What are the uses of Java packages?

  37. What is the significance of import keyword?

  38. What is user defined package in Java?

  39. How to place compiled Java file in a different location ?

  40. What is access modifier and what are its types?

  41. What is static keyword?

  42. What is a transient variable?

  43. What is native keyword?

  44. What is an abstract class?

  45. How to define an Abstract class?

  46. What is object class in java?

  47. What are the limitations of array?

  48. What is set interface about?

  49. What is Enumeration interface?

  50. Explain different way of using thread?

  51. Explain in your own words the "bottom line" benefits of the use of an interface.

  52. Compare Array List vs Linked List

  53. What is the difference between private, protected, and public?

  54. What is method overriding in JAVA?

  55. Do interfaces have member variables?

  56. How will you establish the connection between the servlet and an applet?

  57. What are the threads will start, when you start the java program?

  58. Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection?

  59. What is the difference between lightweight and heavyweight component?

  60. What interface do you implement to do the sorting?

  61. What are the benefits of using threads in an application?

  62. What are some advantages and disadvantages of Java Sockets?

  63. What are the differences between process and threads?

  64. What is single threaded and multi threaded process?

  65. What do you mean by Final class in Java

  66. Name the containers which uses Border Layout as their default layout?

  67. What are wrapper classes in JAVA?

  68. What is the difference between an Interface and an Abstract class?

  69. How to use threads in java?

  70. Explain the usage of the keyword transient?

  71. What is static in java?

  72. What if I do not provide the String array as the argument to the method?

  73. What do you mean by Run time Exceptions in Java?

  74. Describe thread policy in Java?

  75. What do you mean by a Classloader?

  76. What are the ways in which you can instantiate a thread?

  77. What are the states of a thread?

  78. What is the super class of Hashtable?

  79. What is a socket?

  80. What are the different types of qualifier and what is the default qualifier?

  81. What do you mean by RMI and how it is useful?

  82. Name any two Java IDE’s?

  83. How are this() and super() used with constructors?

  84. What is the use of preparedstatement?

  85. What are the different driver types available in JDBC?

  86. What is a Marker Interface?

  87. Is JDBC-ODBC bridge multi-threaded?

  88. What is a lightweight component?

  89. What is a heavyweight component?

  90. How does the Java default constructor be provided?

  91. What if the static modifier is removed from the signature of the main() method?

  92. What is thread scheduling and what does it determines?

  93. When you declare a method as abstract, can other nonabstract methods access it?

  94. Is JDBC-ODBC bridge multi-threaded? -

  95. What are the implicit packages that need not get imported into a class file?

  96. What is the use of serializable?

  97. What are the different level lockings using the synchronization keyword?

  98. What is callable statement?

  99. Can a abstract method have the static qualifier?

  100. What is the eligibility for a object to get cloned?

  101. What is the difference between a constructor and a method?

Wrapping it up


So, these are some important java questions you  can go through to take as a reference for your competitive exams. Feel free to give your suggestions in comment. Help us to spread this more using social share buttons given below.

Write a C Program to Reverse a Number using while loop

Write a C Program to Reverse a Number using while loop


In this post we will discuss Program to Reverse a Number using while loop. In this program, we will supply an integer value, in the output we will get the reverse of the entered number.

Suppose you enter a number as 3246 then the output of the program will be 6423

Program to Reverse a Number using while loop 1


main()
{
int n, s;
printf("Enter Number ");
scanf("%d",&n);
s = 0;
while(n > 0)
{
s = s*10;
s = s + (n%10);
n = n / 10;
}
printf("Reverse number is: %d",s);
}

Output

Enter Number 234
Reverse number is 432





Write a program to sum the digits of a number in C Language

Write a program to sum the digits of a number in C Language.

program to sum the digits of a number  1
program to sum the digits of a number 

main()
{
int n, s=0, m;
printf("Enter the Number");
scanf("%d",&n);
while(n>0)
{
m=n%10;
s=s+m;
n=n/10;
}
printf("Sum of digits = %d",s);
}

Write a program to calculate factorial of a number in C language usingfor loop

Write a program to calculate factorial of a number in C language using for loop


This is a famous C language program while learning C language programming. Many times factorial of a number program is asked in exams at board levels and university levels.
factorial of a number

factorial of a number 



Factorial of a number can be calculated mathematically by multiplying all the natural numbers starting from 1 up to the number, whose factorial is to be calculated.

For example : Factorial of 4 can be calculated by multiplying natural numbers from 1 to 4, like 1x2x3x4=24

void main()
{
int f=1, i, n;
printf("Enter a positive integer");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
f=f*i;
}
printf("Factorial = %d", f);
}


write a program to generate the Fibonacci series in c language

Write a Program to Generate the Fibonacci Series in C Language


Fibonacci series program is one the popular program among learners of any programming language. In fibonacci series we have terms as :   1        1        2        3       5      8   and so on.
Program to Generate the Fibonacci Series 1

Program to Generate the Fibonacci Series



The first two terms are one, and third term is the sum of term 1 and term 2, and similarly fourth term is the sum of term 2 and term 3 and so on.


/* Program for Fibonacci Series in C Language */


#include<stdio.h>

main()

{

int n, a = 1, b = 1, c, i;

printf("Enter the number of terms\n");

scanf("%d",&n);

printf("%d\t%d\t",a,b);

for ( i = 1 ; i < n-2 ; i++ )

{

c = a + b;

printf("%d\n",c); a = b; b = c;

}

}

 

Top 10 Best Winter Vacation Spots in the World

Top 10 Best Winter Vacation Spots in the World


Everyone Plans to visit Hill stations in Summer. What are the Top 10 Best Winter Vacation Spots in the World ? We have tried to mention Top 10 Best Winter Vacation Spots in the World  in this post as per our point of view.

Mussoorie


Mussoorie is Famous Hill station in Summer. It is in the state of Uttarakhand, in Dehradoon District.

Mussoorie is more popular by the name  Queen of Hills. Mussoorie is at a distance of 34 kms from Dehradun and  2003 meters above sea-level. Mussoorie is popular more in north India as hill station. 

Mussoorie  gained its fame because of its natural beauty and cool weather. In summer vacations a lot of tourists visits Mussoorie from all over India. It is connected by road dehradun. The hill station is also popular in winters too because of snow fall in the area.

The cool weather and scenic beauty attracts visitor to visit here frequently. There are  a lot of hotels in the area , so staying here is not a big issue. There are a lot of shops and eating points at mall road of Mussoorie.


Municipal Garden


It is  also known as Company Bagh. Municipal Garden is located in the Happy Valley area. This Garden us maintained by Garden Association of the destination. It is also known as Botanical Garden.  the municipal garden is situated near about 3 kms from the popular library point.

There are a lot of flowering plants. You can enjoy the chirping of beautiful colored birds here.  Near about 800 species of flowers are planted here. In the municipal garden , there is provision of plants nursery , where you can buy these plants. Lush green carpet of lawns en Jharipani Fall

It is located near 8 kms from Mussoorie. One can go by car or bus to this beautiful place. Jharipani Fall is near the village Jharipani. The only five star hotel of Mussoorie is also near Jharipani and serves as a landmark.

Bhatta Fall


Bhatta Fall is famous spot near Mussoorie. It is near 7km from Mussoorie city. Bhatta Fall is a natural water fall.

Kempty Fall

Kempty Falls are at 13 km from Mussoorie. It is one of the most famous place of Mussoorie. Almost every tourist who visit Mussoorie also visit Kempty Fall.

Other Famous Places Near Mussoorie

  • Nag Devta Temple

  • Mussoorie Lake

  • Jwalaji Temple

  • Clous End

  • Naga Tibba

  • Dhanolti 

  • Surkhanda Devi

  • Gun Hill

  • Camel's Back Road

Other Places of interest are listed below :

SHIMLA

KASAULI

KULLU

MANALI

KHAJJIAR

PALAMPUR

NAINITAL

OOTY

MOUNT ABU

Mount Abu is famous hill station in the state of Rajasthan. Mount Abu is situated in Sirohi District in Aravali Range. It is near the border of Gujrat state.
(we will update this post shorly, thanks for visiting)