Blog : Online Interview Questions

Read Latest Tutorials on CorePHP, CakePHP, MySQL, Zend Framework, jQuery, NodeJS, Laravel, Angularjs, Angular 2, ReactJs, Vuejs, JSF, Struct, CSS3, HTML5, JavaScript, JSON, MAVEN, CakePHP, ReactJs

C Program Examples

C program to find lcm of two numbers

This Program stores two integers one by one into the int datatype. After that find the least common factor of these two numbers as shown as output.

C Program Examples

C program to find gcd of two numbers

This Program stores two integers one by one into the int datatype. After that find the Greatest common factor of these two numbers as shown as output.

C Program Examples

C program to swap two numbers without using third variable

This Program stores two integers one by one into the int datatype. After the successful swapping of numbers it will exchange the value of them at once or you can say that it assign a's value to b and b's value to a.

C Program Examples

C program to reverse any number by using function

This Program reversed any number such as Integer, float, or decimal in their equivalent. After the successful compilation of the program, a message is displayed on the screen as Please! Enter a string that you want to reverse: Suppose, User, entered 11001 then again a message is displayed as The Equivalent Reversed Number is 10011. Read more...

C Program Examples

C program to swap two numbers

This Program stores two integers one by one into the int datatype. After the successful swapping of numbers it will exchange the value of them at once.

C Program Examples

C program to print prime numbers between 1-100

This Program runs a loop from 2 to 100 and checks for each current number within range that it is prime or not. After the successful execution of the program it displays the list of all prime numbers from 2 to 100. As we know that 1 is not a prime number so we don't need to check it.

C Program Examples
C program to find prime number
C program to find prime number

This Program stores an integer into the variable with int datatype. After it is used for the loop it checks all divisors between 2 and the number itself. Then, Compare it is divisible or not by any number rather than 1 and itself. At last If the user input 1 then it shows the 1 is a prime number. Next, If the user inter 23 then it displays 23 is a prime number and Display to enter another number.

C Program Examples
C program to add two numbers
C program to add two numbers

This Program stores two integers into the int datatype by using to variables. After that store the sum of these two variables into another variable and display it on the screen.After the successful compilation of the program, Program sums up the two entered numbers at once.

C Program Examples
C program to reverse an Integer number
C program to reverse an Integer number

Are you want a demonstration of The C Program that reverses an Integer number? This Program reversing the sequence of digits in an Integer. After the successful compilation of the program, a message is displayed on the screen as Please! Enter a string that you want to reverse: Suppose, User, entered 11001 then again a message is displayed as The Equivalent Reversed Number is 10011. The internal execution of the program depends upon the previous demonstration of Reverse an Integer number.

C Program Examples
C program to reverse a string
C program to reverse a string

This program reversed the entered string that means opposite of the previous string sequence.

C Program Examples
C Program to convert Decimal to Binary Number
C Program to convert Decimal to Binary Number

A Decimal Number is constructed with any digit from 0 to 9. For instance, 24 is a Decimal Number constructed from the digits 2 and 4. A Binary Number is constructed with digits 0 and 1. For instance, 11000 is a Binary Number constructed from the digits 1 and 0 which is the value of a Decimal Number 24. This Program will convert any Decimal number entered by the user to its equivalent Binary Number.

Java Tutorials
An Introduction Java Object Oriented Programming Paradigm
An Introduction Java Object Oriented Programming Paradigm

Java object-oriented programming paradigm is far different from C++ and other languages. There was a time when sequential and straightway programming languages like C, Assembly Language, and Basic seemed to be easy to program, and rather difficult to design. Next came the age when Object Oriented Programming rolled over the computers, making it even easier not only in programming but also in designing and arranging data.

Java Tutorials
7 Most favorable Java Frameworks
7 Most favorable  Java Frameworks

ht already know of the sheer amount of Java frameworks available out there. And, a wide range of these frameworks is making it a difficult task to choose the right framework for the application or the project. Before we move ahead to the context of choosing the right Java framework, let us understand why we need a framework for our project. A framework is nothing but a program that allows developing of web applications. The framework’s facets denote the modifiable system and structure that allows easy development of the applications. So, in simple words, the framework reduces the load of writing the whole lengthy and complex alterations to the entire software, and you just need to make specific changes and easily build the application. And, now it's time to head off and knows the best Java Frameworks available in the development industry. Here we will be providing you with a list of 7 best Java frameworks in the web industry. The Java frameworks here are listed based on the favorable and unfavorable factors, to make it easier for you to button on the right one. 1. JavaServer Faces – JSF It is supported by Oracle and comes with complex documentation, and is very in-depth. This framework enables creating web applications in the Java programming language. It is neither easy to use this framework nor is it the fastest. The bonus of using Java Server Faces is its excellent documentation that Oracle has created. This framework plays a vital role in the Enterprise Edition of Java and also if the Integrated Development Environment software is used, it is extremely convenient as it is actually built on those environments. Favorable Factors of Java Server Faces:Developed and supported by Oracle Comes with excellent Documentation and tools Rich libraries Convenient to useUnfavorable Factors of Java Server Faces:Need prior Experience Slightly complex Slow Development processRead Best Java Server Faces Interview Questions 2. Hibernate Hibernate is an ORM framework and not a web framework; and is prominently known for being a high-quality, powerful and ideal option to deal with the access of databases. It is a device for object-relational mapping and is incredibly convenient to use if you are working with multiple databases. Besides speed and compatibility to work with multiple databases, it is also very easy to scale bigger and smaller architectures. It is configurable, modifiable and capable of doing everything a user needs. The only issue with Hibernate is that restarting the framework and resuming the activity is a bit tedious; and if the power goes off, the data can be lost easily. Favorable Factors of Hibernate:Speedy and powerful Scaling is easy Configurable and Modifiable Conversion of data for multiple databases is easy.Unfavorable Factors of Hibernate:Uncertain power off leads to loss of data Slow restartRead Best Hibernate Interview Questions 3. Struts Struts is a free and open source framework, which is used to create aesthetically pleasing and elegant Java applications. This framework is used to build the foundation of the web application and its function. It is less "industry-standard", and is fairly a multifaceted framework that takes a while to get the hang of it. It immediately implements new segments of codes and the new elements you add, which enables fast development and testing. Struts are not very much flexible, which means that you don’t get accustomed to a set of rules regarding the designing and coding of web applications. This framework wants the user to use its own set of rules, and this makes it a big turn-off for most of the people. Favorable Factors Struts Framework:Fast Development Free and Open-source East to test the codeUnfavorable Factors Struts :Not very much flexible Many rules Complex framework not easy to understand.Read Best Struts Interview Questions 4. Vaadin Vaadin is also an open-source framework and is licensed by Apache Software Foundation. This framework is powerful; and very useful and has incredibly worldwide active community, where a user can turn to for guidance. This framework is great for developing the web applications and the architecture is server-side. This means that the user can create interactive, rich and efficient web interfaces that enable developing the applications you want to. Vaadin framework can be extended with Google Web Tools as well as with the Ajax. Apart from the UI, in no time the user can also build different varieties of cool web applications. Java and JavaScript code can easily become convoluted and incredibly large. Favorable Factors of Vaadin:Supported by Apache Excellent documentation Uses Server-side programming Supports on the forums Many different Plug-Ins Enables creating rich and interactive web interfaces. Use GWT and AjaxUnfavorable Factors of Vaadin:The code can become easily lengthy and complex.Read Best Vaadin Interview Questions 5. Google Web Toolkit - GWT GWT directly comes from everyone’s favorite search engine, the Google. It is an open source framework that enables easy development and modifying of front-end applications, no matter how complex the applications are. Since it is developed by Google, it has a lot of support, documentation, and things are well-developed, and the execution is thoroughly done. GWT is used to develop the front-end applications and also in creating responsive web applications that load on both the server-side and client-side systems. GWT allows integration of multi-functionality effortlessly. There have emerged so many new versions that are distinct to each other. Some may acquire the GWT essential tools the user needs, while other may lack those. Favorable Factors of GWT:Accessible Easy-to-use Excellent support and documentation Develops responsive applications Balances the load on Client-side and server-side systemsUnfavorable Factors of GWT:Compiling is tedious New versions constantly emerge.Read Best GWT Interview Questions 6. Vert.X Vert.X is a framework with broad capabilities, and supports a lot of languages, but is primarily optimized for Java. It has various different components and each is modular that allows using things to write the web application. It is a library and not the container, which means that the user can apply other tools and components from other libraries to create the web application. Aside from its flexibility and functionality, the fact that the user can easily set up the framework and use the libraries and components makes this framework the most preferred one. This framework runs on the Java Virtual Machine – JVM that enables the user to test the code and scale with ease. It can be a little difficult to scale one specific piece of limited hardware to the larger one, but scalability is one of the strengths of Vert.X Favorable Factors of Vert.X :Supports many languages Easy to set up High Modular Allows using any libraryUnfavorable Factors:Scaling larger systems is difficult7. Apache Wicket Due to extreme support from the Apache foundation, the "Wicket" framework is known as "Apache Wicket". A lightweight framework developed to build simple yet elegant applications in component-based languages, which is responsive and useful. The framework’s open source, server-side and all the code scripted in java makes things like scripting and alteration easier. Integration with HTML is easy and testing of the applications is powerful and convenient. Favorable Factors of Apache Wicket:Maintaining code is easy It supports Java and HTML Builds simple yet elegant pages and applications Testing of the specific components of the code.Unfavorable Factors of Apache Wicket:Understanding the framework takes time. Convoluted Development process.Wrapping Up The choice of the framework depends upon the type of application and the size of the application you are working on. It is necessary to understand that all the frameworks are designed with an ultimate goal of raising the performance and standard of the application and differs only in the scaling size. So, analyze the type and size of application you are working on and then choose the framework that makes it efficient....

Java Tutorials
Java 11 features and Updates 2018
Java 11 features and Updates 2018

Java 11 features and Updates: Check what new in Java 11. Java 11 is scheduled for release in September 2018 with many additional features and four JDK enhancement proposals or JEPs have been officially targeted at Java 11 and the following versions. Java 10 sports JEP 296, which is for consolidating the JDK forest into a single repository, and JEP 304, which is a garbage collector interface. In other words, JEP 296 is meant for purely housekeeping and JEP 304 is meant for making the production of JDK builds that contains, or excludes a specific GC algorithm easier for vendors.

ReactJS Tutorials
Smooth Scrolling in React Js - Step By Step Guide
Smooth Scrolling in React Js - Step By Step Guide

In this tutorial, we are going to see how to implement Smooth Scrolling in React Js. Smooth scrolling is used to scroll to a div or section of page smoothly mot instantly. Here we are going to use react-scroll package on NPM to implement it.

Write For Us.

Contribute the Community.