Square CSS

Thursday, October 18, 2018

SpringApplication

SpringApplication is a class which has a static parametrized method called run(). Using this method any Spring Boot application can be bootstrapped by passing the class in this method.

One can start the application by calling the static run() method of SpringApplication.


  
   public static void main(String[] args){
       SpringApplication.run(nameOfMainClass.class,args);  
   }



  Next >> Spring Boot : Hello World Example
                      Create a Spring Boot application to print "Hello Wor ...

No comments:

Post a Comment

Some Algorithms

Algorithm: Tower of Hanoi

Tower of Hanoi consists of three towers called as pegs with n number of rings. Rings are of different size.  Conditions to be fulfill...

Popular Posts