HTML Basic Tags Explained with Examples
Hey guys in this post we will discuss basic HTML tags and their usage in web development/web design. Basic Tags Tags Description <html></html> It is the main tag, it creates…
Hey guys in this post we will discuss basic HTML tags and their usage in web development/web design. Basic Tags Tags Description <html></html> It is the main tag, it creates…
Hey guys in this post we will discuss Spring boot @RequestParam annotation and its example Read Spring boot @PathVariable annotation Overview The @RequestParam annotation binds the web request parameter to…
Hey guys in this post we will discuss about the Spring boot @PathVariable annotation and their example in detail. Overview Spring boot @PathVariable annotation used on a method argument to…
Hey guys in this post, we will discuss how to place the JFrame window at the center of the screen. Read: Create Basic JFrame window and display it on the…
Hey guys in this post, we will discuss how to display the basic window using Java Swing. Example import javax.swing.JFrame; public class BasicWindow extends JFrame{ public static void main(String[] args)…
Hey guys, in this post we will discuss the Java 8 Stream API collect() method, we will also look at some of the examples. Overview Java stream collect() method is…
Hey guys in this, we will discuss accepting the user input in Java with Scanner class. If we are creating a console-based application, it's essential that takes the user input…
Hey guys in this post, we will learn about creating REST API with Spring Boot, H2 Database, JPA, and Hibernate. We will also perform the basic CRUD (Create, Read, Update,…
Hey guys in this post we will discuss String and their methods in javascript. The string is the most commonly used datatype in any programming language. It's always good to…
Hey guys in this post, we will see the 5 different ways of creating objects in java. Let's discuss it one by one - 5 Different ways Following are the…
Hey guys in this post, we will learn about creating REST API with Spring Boot, MySQL, JPA, and Hibernate. We will also perform the basic CRUD (Create, Read, Update, Delete)…
Following are the test cases Test cases Result Status haveThree({12,3,4,3,88,3}) true OK haveThree({22,3,3,3,17,3}) false OK haveThree({3,4,3,6,3,7}) true OK Java solution package test; public class Program20 { public static void main(String[]…
Following are the test cases Test cases Result Status sum28({10,20,30,40,50,60,2}) false OK sum28({2,10,7,2,2,2}) true OK sum28({5,6,1,2,2,2}) false OK Java solution package test; public class Program19 { public static void main(String[]…
Following are the test cases Test cases Result Status nTwice(Hello,2) Helo OK nTwice(Chocolate,3) Choate OK nTwice(java,1) ja OK Java solution package test; public class Program18 { public static void main(String[]…
Following are the test cases Test cases Result Status makeOutWord(<<>>,Yay) <<Yay>> OK makeOutWord([[]],Word) [[Word]] OK makeOutWord([((JAVA))] ((JAVA)) OK Java solution package test; public class Program17 { public static void main(String[]…
Following are the test cases Test cases Result Status stringE(Hello) true OK stringE(Heelele) false OK stringE(Heelle) true OK Java solution package test; public class Program16 { public static void main(String[]…
Following are the test cases Test cases Result Status tripleUp({1,2,3,7,5,9}) true OK tripleUp({1,4,5,6,2}) true OK tripleUp({1,2,4,5}) false OK Java solution package test; public class Program15 { public static void main(String[]…
Following are the test cases Test cases Result Status sumOfDigits(144) 9 OK sumOfDigits(457) 16 OK sumOfDigits(345) 12 OK Java solution package test; public class Program14 { public static void main(String[]…
Following are the test cases Test cases Result Status firstHalf(HelloThere) Hello OK firstHalf(abcdef) abc OK firstHalf(Word) Wo OK Java solution package test; public class Program13 { public static void main(String[]…
Following are the test cases Test cases Result Status arrayFront9({1,2,9,3,4}) true OK arrayFront9({9,2,3,4,56}) true OK arrayFront9({2,3,4,5}) false OK Java solution package test; public class Program12 { public static void main(String[]…
Following are the test cases Test cases Result Status generateFibSeries(5) {0,1,1,2,3} Ok generateFibSeries(7) {0,1,1,2,3,5,8} Ok generateFibSeries(10) {0,1,1,2,3,5,8,13,21,34} Ok Java solution public class Program11 { public static void main(String[] args) {…
Hey guys in this post we will discuss the different ways of creating Javascript functions. There are 3 different ways to create javascript functions let's discuss one by one Three…
Hey guys in this post we will discuss the different ways of copying objects in javascript. There 3 different ways that we can copy javascript objects let's discuss them one…
Hey guys in this post we will discuss about reduce() of Stream API which is introduced in Java 8. Introduction Many times we need to perform operations where a stream…
Hey guys in this post, we will discuss everything about map() in Streams which is introduced in Java 8. Introduction map() function returns a stream consisting of the results of…
Hey guys in this post, we will see how to create a spring boot project in the IntelliJ IDEA community edition. Check out Create spring boot project using Spring Initializr…
Hey guys in this post, we will discuss how to create spring boot REST API using Spring Data Rest module and we will connect it to the MySQL database. We…
Hey guys in this post we will learn about the javascript arrow function and some of the examples. What is an arrow function? Javascript arrow function or arrow function expression…
Hey, guys in this post will discuss the most commonly used java string methods. The string is the most commonly used class while building any java application, this is why…
Hey guys in post we will discuss the 3 best ways to remove duplicates from array in javascript. so let's begin By using Set By using Filter By using ForEach…