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...

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

Advantages of Java SE 8 New Features

More Concise and Readable codeMore Reusable codeMore Testable and Maintainable CodeHighly Concurrent and Highly Scalable CodeWrite Parallel CodeWrite Database Like OperationsBetter Performance...

java 1 Answer 69 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...

java 2 Answer 95 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){} ...

java 2 Answer 79 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...

java 2 Answer 113 views asked Mar 1 in Technology by Govind123

What is final variable

You are always allowed to initialize a final variable. The compiler makes sure that you can do it only once.Note that calling methods on an object stored in...

java 2 Answer 99 views asked Feb 26 in Technology by Govind123

Can we intialize blank final variable?

The final keyword can be applied with the variables, a final variable that have no value it is called blank final variable or uninitialized final variable. It can be initialized in the constructor...

java 2 Answer 59 views asked Feb 26 in Technology by Govind123