Saturday, December 21, 2024
Top 10 Object-Oriented (OOP) Design Principles Java Programmers Should Know
Wednesday, December 18, 2024
How to Print Duplicates from a Given String in Java? [Solved]
Problem : You have given an input String, write a program to print all the duplicates from input String. For example if given String is "Java" then your pogrom should print "a", and if given String is "C++" then your program should print "+". If String doesn't contain any duplicate then it should print nothing e.g. if you pass "Python" or "Ruby", it should print nothing.
Saturday, December 14, 2024
How to find the largest and smallest number in given Array in Java? Example Tutorial
Top 20 Amazon and Google Programming Interview Questions for Software Developers
Friday, December 13, 2024
Polymorphism and Inheritance Example in Java
How to fix java.lang.NoSuchMethodError: main Exception in thread "main" in Java? Example
How to deal with NullPointerException in Java with Examples - java.lang.NullPointerException Guide
Difference between transient and volatile keyword in Java? example
Why wait, notify, and notifyAll methods are called from synchronized block or method in Java?
Wednesday, December 11, 2024
The multi-part identifier XXX could not be bound in SQL SERVER [Solution]
Problem, I was doing join statement and getting this error Msg 4104, Level 16, State 1, Line 69
The multi-part identifier "a.X" could not be bound."
Cause:
I was mixing implicit joins with explicit joins. That is allowed, but you need to be aware of how to do that properly.
The thing is, explicit joins (the ones that are implemented using the JOIN keyword) take precedence over implicit ones (the 'comma' joins, where the join condition is specified in the WHERE clause).
Difference between Wait and Sleep, Yield in Java? Example
Difference between Thread vs Runnable interface in Java
Monday, December 9, 2024
What are AtomicInteger and AtomicLong in Java? How it works? compareAndSet() Example Tutorial
Wednesday, December 4, 2024
6 ways to get the selected text from html drop down list in jQuery?
One of the common task in web development is retrieving the selected text from a drop down list, which is nothing but HTML select element. This allows users to choose one of the options presented, each text is enclosed in option tag. how can we retrieve the selected text using jQuery? Well, there are multiple ways but core is first find the select element than the selected option by using :selected pseudo class selector.