Skip to main content

Posts

Advanced Java Interview Questions?

  Advanced Java Interview Questions 1. What Is A Reflection In Java? The reflection in Java is an API that is used to inspect other code which is present in the same node where it is running. This reflection is also used to give information about the instance to which an object belongs. 2. How To Differentiate The Interface And Class In Java? Even though both are used to achieve abstraction in Java. When it comes to the implementation point of view the abstract classes can have both abstract and non–abstract methods when it comes to the interface only abstract methods are allowed to include in the body of the interface. 3. Does Java Supports The Concept Of Pass-By -Reference ? No, java does not explicitly support the concept of pass-by-reference because there is the concept of pointers in java. In Java, everything is passed as values so we can java only supports the pass-by value and implicitly these are passed as references. 4. What Is Meant By JavaBean? Java Bean is a java class ...

Java Interview Questions?

  Java Interview Questions 1. Define Java Java is a general-purpose, Object-oriented programming and most widely used language which was developed by James Gosling in the 1990s. It’s a system-independent language where one can run the compiled byte code in any other system which contains JRE in it. 2. Explain The Features Of Java The features of Java include Platform Independent – The byte code generated on one computer can run on another system. Robust – Can easily handle errors during execution. Multithreaded – IT enables users to write programs that can perform many tasks at a time. Object Oriented – As we know everything in java is an Object. Performance – The inclusion of JIT Compilers in JRE increases their performance than other programming languages. 3. Define Variables In Java And Their Types. Variables are the storage locations that are used to store different types of data. In Java, there are three types of variables based on their scope. They are Local Variables – These...

Write a Pattern in Java

                     Write a Pattern in Java                                           *                                    *                 *                             *                                 *                                    *                 *                 ...

What is Java?

 What is Java?  It is an object-oriented language similar to C++, but with advanced and simplified features. Java is free to access and can run on all platforms. Java is a write-once, run-anywhere programming language developed by Sun Microsystems. It is similar to C and C++ but a lot easier. You can combine Java with a lot of technologies like Spring, node js, Android, Hadoop, J2EE, etc… to build robust, scalable, portable, and distributed full-fledged applications. Java also promotes continuous integration and testing using tools like Selenium. Java was originally developed by James Gosling with his colleagues at Sun Microsystems during the early 1990s. Initially, it was called a project ‘Oak’ which had implementation similar to C and C++. The name Java has later selected after enough brainstorming and is based on the name of an espresso bean. Java 1.0, the first version was released in 1995 with the tagline ‘write once, run anywhere. Later, Sun Microsystems was acqu...

Top Java frameworks used

  Top Java frameworks used Java Frameworks are the bodies of pre-written code through which you are allowed to add your own code. But there are a lot of frameworks out there that have various applications. So, in this article, I’ll discuss the top 10  Java  frameworks you should master. Let’s look at the topics to be covered in this article: What are Java frameworks? Top Java frameworks used Spring Hibernate Struts Google web toolkit [GWT] JavaServer Faces [JSF] Grails Vaadin Blade Dropwizard Play

What is Google web toolkit [GWT] in Java?

  Google web toolkit [GWT] Google Web Toolkit (GWT) is a completely free, open-source framework that helps the developers to write client-side Java code and establish it as JavaScript. A lot of Google products are written using GWT such as AdSense, Google Wallet, and Blogger. Using GWT, developers can easily code complex browser applications rapidly. It also allows you to develop and debug Ajax applications in Java. The awesome thing about GWT is that you can write complex browser-based applications without being an expert in front-end technologies like JavaScript optimization or responsive design. Uses: Developer-friendly Use of Google APIs Helps in creating and maintaining complex JavaScript front-end applications Advantages It supports reusability for common web development tasks Google APIs can be used in GWT applications Offers internationalization, cross-browser portability, UI abstraction, bookmarking, and history management ...

What is Play Framework in Java?

Play Framework in Java This is a reactive web and mobile framework for highly scalable Java applications. Play makes it possible to develop lightweight and web-friendly Java and Scala applications for desktop and mobile interfaces. It is often compared with powerful frameworks of other languages, like Ruby on Rails for Ruby, or Django for Python. Play is a unique Java framework as it doesn’t rely on the Java EE standards. Instead, it intends to remove all the inconveniences of traditional Java web development like slow development cycles, a lot of configuration, and many more. Built upon  Akka  Toolkit, the Play framework truncates the creation of concurrent and distributed applications on the Java Virtual Machine.    Uses: Web applications that demand content creation Builds Java and Scala applications Advantages Offers features like hot code reloading, convention over configuration, and error messages in the browser It supports non-blocking I/O which is crucia...