What is a JVM consists of?

The Java Virtual machine (JVM) is the virtual machine that runs the Java bytecodes. The JVM doesn't understand Java source code, that's why you compile your *.java files to...

solved
java 2 Answer 63 views asked 4 days ago in Technology by Govind123

Compare between Servlet and JSP?

Servlet:A servlet is a server-side program and written purely on Java.Servlets run faster than JSP.  It executes inside a Web server, such as TomcatReceives HTTP requests from users and...

solved
java 2 Answer 53 views asked Apr 18 in Technology by muneshs16

What is Lambda Expression

Lambda Expression is an anonymous function which accepts a set of input parameters and returns results.Lambda Expression is a block of code without any name, with or without parameters and with or...

solved
java 2 Answer 56 views asked Mar 16 in Technology by Govind123

Advantages of Java SE 8 New Features

The important features of JavaSE 8 are lambda expressions, methods references, default methods, functional interface, java 8 date/time, stream classes etc. Java 8 Date/Time API (Java 8) Lambda...

solved
java 2 Answer 119 views asked Mar 16 in Technology by LogenRahul

Why we cannot override static method?

Static methods cannot be overridden because method overriding only occurs in the context of dynamic (i.e. runtime) lookup of methods. Static methods (by their name) are looked up statically (i.e. at...

solved
java 2 Answer 96 views asked Mar 7 in Technology by Govind123

Why main method is static

The method is static because otherwise there would be ambiguity: which constructor should be called? Especially if your class looks like this: public class JavaClass{ protected JavaClass(int x){} ...

solved
java 2 Answer 99 views asked Mar 7 in Technology by Govind123

What are the advantages of JVM

Imagine what might happen if a Web page had the ability to delete your files or examine your private documents. Even though Java applets can perform useful tasks that regular HTML code cannot, Java...

solved
java 2 Answer 129 views asked Mar 1 in Technology by Govind123