How to print all the characters of a String using the charAt() method and a for loop
#codingriver
#java
#programming
...
https://www.youtube.com/watch?v=xKrvo2mWAlY
HTML multiple choice interview question #28
Which tag is used to define an ordered list in HTML?
#html #html5 #webdevelopment
...
https://www.youtube.com/watch?v=l3DEND0OBWc
How to check whether a sequence of characters is contained in a String using the contains() method - Java Tutorial For Beginners
In this video, we will talk about a method that can allow us to check whether a particular sequence of characters is part of a String or not. The method we will use is called the Java String contains() method.
This method takes a parameter of type String and it returns a value of type Boolean whenever it is evaluated. That means that it will return true if the specified sequence of characters is present in the String and it will return false if the sequence of characters is not.
Also, the contains() method is case sensitive
String sentence = "I love programming";
System.out.println(sentence.contains("love"));
System.out.println(sentence.contains("Love"));
Note that if the sequence of characters is null the program will throw an exception System.out.println(sentence.contains(null));
But an empty String will evaluate to true System.out.println(sentence.contains(""));
Since the contains() method returns a boolean value, so we can use it in an if else statement. So let’s take an example
class JavaExample{
public static void main(String args[]){
String sentence = "I love programming";
if(sentence.contains("programming")){
System.out.println(" programming is found in the string");
}
else{
System.out.println("programming is nowhere to be found in the string");
}
}
}
Here too, since we know that contains() method is case sensitive, we can change the format of the word programming to see what will happen
if(sentence.contains("Programming")){
In the next video I will show you how we can make a case insensitive check by using a very special trick
#codingriver
#java
#programming
...
https://www.youtube.com/watch?v=loyjMJav3iI
HTML Canvas Tutorial #6 - HTML Canvas Rectangles - How to draw a rectangle using canvas and javascript - canvas method rect()
...
https://www.youtube.com/watch?v=3l0u-RiFDlE
How to Answer the Interview Question "Why Should We Hire You?"
In this video, I will be sharing with you some tips on how to answer the most common interview question: "Why should we hire you?". This question can be quite tricky, but with the right approach, you can impress your interviewer and increase your chances of getting the job.
I will be covering the following points in this video:
Understanding the job requirements and how you fit in
Highlighting your skills and experience that are relevant to the position
Giving specific examples of your accomplishments and how they can benefit the company
Demonstrating your enthusiasm and passion for the job
Closing the interview on a positive note
Make sure to watch the entire video to get all the tips and tricks you need to ace this question.
#jobinterview
#interviewtips
#careeradvice
#jobsearch
#jobseekers
...
https://www.youtube.com/watch?v=GMRAwuAP4GE
HTML multiple choice interview question #23
Which tag is used to embed sound content in HTML?
#html #html5 #webdevelopment
...
https://www.youtube.com/watch?v=V1yBYK7FMMU
HTML multiple choice interview question #24
Which CSS property is used in flexbox to align items vertically?
#html #html5 #webdevelopment
...
https://www.youtube.com/watch?v=1nBF_UeuRhA