Skip to content

Top Java Tutorial

Menu Menu
  • Java
    • Core Java
    • Java Collections
    • JDBC
    • Java Certification Tricky Questions
    • Design Pattern
  • Java 8
  • Java 9
  • Java Algorithms
  • SCJP
  • Interview
    • Java 8
    • Coding Interview
    • Collections
    • Core Java
    • Design Pattern
    • Hibernate
    • J2EE
    • Web service
  • WebServices
    • REST
    • SOAP
    • Misc
  • Frameworks
    • Spring
      • Spring Boot
      • Spring AOP
      • Spring Core
      • Spring JDBC
      • Spring MVC
      • Spring REST
    • Hibernate
    • Play
    • Struts
    • Struts 2
    • Maven
  • Misc
    • Scala
    • Kotlin
    • JSON
    • C
    • Microservice
    • Mobile
      • Android
      • Swift
    • Microsoft Excel
    • Magazine
    • Popular
    • Tools
      • IP Location Details
  • Scripting
    • jQuery
    • React.js
    • JavaScript
    • Angular 1
    • Angular 7
    • Underscore.js
    • Handlebars.js
    • node.js
  • About us
Expand Search Form

Flutter Least Common Multiple (LCM)

September 16, 2020 0

For finding LCM, we need to use the gcd function that Dart provides :   int gcd(int other); LCM can be calculated as follows: int getLCM(int a, int b) {   return (a * b) ~/ gcd(a, b); } Here is the complete code : Output : LCM of 10 and 25 is 50

Share this article :

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Google+ (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Flipboard (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
Continue reading Flutter Least Common Multiple (LCM)

20+ AWS Certified Solution Architect Associate Exam Questions

June 8, 2019 0
20+ AWS Certified Solution Architect Associate Exam Questions

In this post, we will cover AWS Certified Solution Architect Associate Exam Questions. The following set of questions is to help you test your understanding before appearing for the AWS solution architect associate exam. This is no way a replacement for practical experience.   Q1 : Which of the following is NOT an AWS Compute …

Share this article :

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Google+ (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Flipboard (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
Continue reading 20+ AWS Certified Solution Architect Associate Exam Questions

Angular ngIf example

January 25, 2019 0

Using ngIf to conditionally display app.component.ts app.component.html   Using ngIf with custom objects fruit.ts app.component.ts app.compoenent.html    

Share this article :

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Google+ (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Flipboard (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
Continue reading Angular ngIf example

When to use PathParam and when to use QueryParam

January 25, 2019 0

In this article, we will see difference between PathParam and QueryParam and how to decide whether to use PathParam vs QueryParam in rest api design.   Diff between PathParam and QueryParam Path params are part of the url where as query parameters are added after the ? mark symbol and separated from other query parameters …

Share this article :

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Google+ (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Flipboard (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
Continue reading When to use PathParam and when to use QueryParam

javac not recognized as an internal or external command

January 25, 2019 0

'javac' is not recognized as an internal or external command, operable program or batch file This error signifies that the PATH variable isn’t set properly.   How to fix javac not recognized error Find the correct path where you installed the JDK. it looks like this: C:\Program Files\Java\jdkxxxx\bin\ Start-menu search for “environment variable” to open …

Share this article :

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Google+ (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Flipboard (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
Continue reading javac not recognized as an internal or external command
Previous 1 2 3 4 5 … 120 121 122 Next

Recent Posts

  • Node, Express microservice with Swagger
  • Flutter – Convert String to int and int to String
  • How to change application launcher icon in Flutter
  • Flutter error – xcode_backend.sh: No such file or directory
  • Flutter error with Xcode : Connecting to the VM Service is taking longer than expected

Recent Comments

  • Yash on 25+ Java pattern programs for printing Number, Character Patterns
  • A Ghosh on 10+ Java Letter / Character Pattern Programs
  • Shardul on 10+ Java Letter / Character Pattern Programs
  • yaswanth on C : Interactive program to print person’s name in abbreviated form
  • varsha on Missing src/main/java in Maven project in Eclipse

Categories

Top Java Tutorial © 2021